Define CHECK_COMPARE

Define Documentation

CHECK_COMPARE(first, relop, second)
[source]

Fail if first relop second is false.

relop must be a relational operator token: <, <=, >, >=, ==, or !=.

CHECK_COMPARE(a, <, b);   // fails if a >= b

Parameters:
  • first – Left-hand operand.

  • relop – Relational operator.

  • second – Right-hand operand.