Searched refs:assert_cmp (Results 1 – 1 of 1) sorted by relevance
/external/jemalloc_new/test/include/test/ |
D | test.h | 3 #define assert_cmp(t, a, b, cmp, neg_cmp, pri, ...) do { \ macro 20 #define assert_ptr_eq(a, b, ...) assert_cmp(void *, a, b, ==, \ 22 #define assert_ptr_ne(a, b, ...) assert_cmp(void *, a, b, !=, \ 24 #define assert_ptr_null(a, ...) assert_cmp(void *, a, NULL, ==, \ 26 #define assert_ptr_not_null(a, ...) assert_cmp(void *, a, NULL, !=, \ 29 #define assert_c_eq(a, b, ...) assert_cmp(char, a, b, ==, !=, "c", __VA_ARGS__) 30 #define assert_c_ne(a, b, ...) assert_cmp(char, a, b, !=, ==, "c", __VA_ARGS__) 31 #define assert_c_lt(a, b, ...) assert_cmp(char, a, b, <, >=, "c", __VA_ARGS__) 32 #define assert_c_le(a, b, ...) assert_cmp(char, a, b, <=, >, "c", __VA_ARGS__) 33 #define assert_c_ge(a, b, ...) assert_cmp(char, a, b, >=, <, "c", __VA_ARGS__) [all …]
|