1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- @@
- int e;
- constant c;
- @@
- (
- - tt_assert(e == c)
- + tt_int_op(e, OP_EQ, c)
- |
- - tt_assert(e != c)
- + tt_int_op(e, OP_NE, c)
- |
- - tt_assert(e < c)
- + tt_int_op(e, OP_LT, c)
- |
- - tt_assert(e <= c)
- + tt_int_op(e, OP_LE, c)
- |
- - tt_assert(e > c)
- + tt_int_op(e, OP_GT, c)
- |
- - tt_assert(e >= c)
- + tt_int_op(e, OP_GE, c)
- )
- @@
- unsigned int e;
- constant c;
- @@
- (
- - tt_assert(e == c)
- + tt_uint_op(e, OP_EQ, c)
- |
- - tt_assert(e != c)
- + tt_uint_op(e, OP_NE, c)
- |
- - tt_assert(e < c)
- + tt_uint_op(e, OP_LT, c)
- |
- - tt_assert(e <= c)
- + tt_uint_op(e, OP_LE, c)
- |
- - tt_assert(e > c)
- + tt_uint_op(e, OP_GT, c)
- |
- - tt_assert(e >= c)
- + tt_uint_op(e, OP_GE, c)
- )
|