Lines Matching refs:_assert

15 #define _assert(...) T_ASSERT_TRUE((__VA_ARGS__), # __VA_ARGS__)  macro
30 _assert(&*ptr == &array[0]); in tests()
34 _assert(&ref == &ptr); in tests()
35 _assert(&*ptr == &array[1]); in tests()
40 _assert(&ref == &ptr); in tests()
41 _assert(&*ptr == &array[2]); in tests()
45 _assert(&ref == &ptr); in tests()
46 _assert(&*ptr == &array[3]); in tests()
50 _assert(&ref == &ptr); in tests()
51 _assert(&*ptr == &array[4]); in tests()
55 _assert(&ref == &ptr); in tests()
60 _assert(&ref == &ptr); in tests()
61 _assert(&*ptr == &array[4]); in tests()
65 _assert(&ref == &ptr); in tests()
66 _assert(&*ptr == &array[3]); in tests()
70 _assert(&ref == &ptr); in tests()
71 _assert(&*ptr == &array[2]); in tests()
75 _assert(&ref == &ptr); in tests()
76 _assert(&*ptr == &array[1]); in tests()
80 _assert(&ref == &ptr); in tests()
81 _assert(&*ptr == &array[0]); in tests()
87 _assert(&*ptr == &array[0]); in tests()
91 _assert(&*prev == &array[0]); in tests()
92 _assert(&*ptr == &array[1]); in tests()
96 _assert(&*prev == &array[1]); in tests()
97 _assert(&*ptr == &array[2]); in tests()
101 _assert(&*prev == &array[2]); in tests()
102 _assert(&*ptr == &array[3]); in tests()
106 _assert(&*prev == &array[3]); in tests()
107 _assert(&*ptr == &array[4]); in tests()
111 _assert(&*prev == &array[4]); in tests()
112 _assert(ptr == array.end()); in tests()
116 _assert(prev == array.end()); in tests()
117 _assert(&*ptr == &array[4]); in tests()
121 _assert(&*prev == &array[4]); in tests()
122 _assert(&*ptr == &array[3]); in tests()
126 _assert(&*prev == &array[3]); in tests()
127 _assert(&*ptr == &array[2]); in tests()
131 _assert(&*prev == &array[2]); in tests()
132 _assert(&*ptr == &array[1]); in tests()
136 _assert(&*prev == &array[1]); in tests()
137 _assert(&*ptr == &array[0]); in tests()