Lines Matching refs:lhs
177 #define assert_op(lhs, rhs, fmt, op) \
179 typeof(lhs) _lhs = (lhs); \
183 fatal_error("assertion " #lhs " " #op " " #rhs \
184 " failed (lhs=" fmt ", rhs=" fmt \
189 #define assert_eq(lhs, rhs, fmt) assert_op(lhs, rhs, fmt, ==)
190 #define assert_ne(lhs, rhs, fmt) assert_op(lhs, rhs, fmt, !=)
191 #define assert_lt(lhs, rhs, fmt) assert_op(lhs, rhs, fmt, <)
192 #define assert_ge(lhs, rhs, fmt) assert_op(lhs, rhs, fmt, >=)