| test.h | 22 #define expect_cmp(t, a, b, cmp, neg_cmp, pri, ...) \ macro 26 expect_cmp(void *, a, b, ==, !=, "p", __VA_ARGS__) 28 expect_cmp(void *, a, b, !=, ==, "p", __VA_ARGS__) 30 expect_cmp(void *, a, NULL, ==, !=, "p", __VA_ARGS__) 32 expect_cmp(void *, a, NULL, !=, ==, "p", __VA_ARGS__) 34 #define expect_c_eq(a, b, ...) expect_cmp(char, a, b, ==, !=, "c", __VA_ARGS__) 35 #define expect_c_ne(a, b, ...) expect_cmp(char, a, b, !=, ==, "c", __VA_ARGS__) 36 #define expect_c_lt(a, b, ...) expect_cmp(char, a, b, <, >=, "c", __VA_ARGS__) 37 #define expect_c_le(a, b, ...) expect_cmp(char, a, b, <=, >, "c", __VA_ARGS__) 38 #define expect_c_ge(a, b, ...) expect_cmp(char, a, b, >=, <, "c", __VA_ARGS__ [all...] |