Lines Matching refs:_assert

15 #define _assert(...) T_ASSERT_TRUE((__VA_ARGS__), # __VA_ARGS__)  macro
45 _assert(&ref == &ptr); in tests()
46 _assert(&*ptr == &array[0]); in tests()
51 _assert(&ref == &ptr); in tests()
52 _assert(&*ptr == &array[1]); in tests()
57 _assert(&ref == &ptr); in tests()
58 _assert(&*ptr == &array[2]); in tests()
63 _assert(&ref == &ptr); in tests()
64 _assert(&*ptr == &array[3]); in tests()
69 _assert(&ref == &ptr); in tests()
70 _assert(&*ptr == &array[4]); in tests()
75 _assert(&ref == &ptr); in tests()
76 _assert(ptr == array.end()); in tests()
87 _assert(&ref == &ptr); in tests()
88 _assert(ptr == array.end()); in tests()
93 _assert(&ref == &ptr); in tests()
94 _assert(&*ptr == &array[4]); in tests()
99 _assert(&ref == &ptr); in tests()
100 _assert(&*ptr == &array[3]); in tests()
105 _assert(&ref == &ptr); in tests()
106 _assert(&*ptr == &array[2]); in tests()
111 _assert(&ref == &ptr); in tests()
112 _assert(&*ptr == &array[1]); in tests()
117 _assert(&ref == &ptr); in tests()
118 _assert(&*ptr == &array[0]); in tests()
136 _assert(tracking_policy::did_trap); in tests()
144 _assert(tracking_policy::did_trap); in tests()
170 _assert(!tracking_policy::did_trap); in tests()
172 _assert(!tracking_policy::did_trap); in tests()
174 _assert(!tracking_policy::did_trap); // offset is now right at its positive limit in tests()
176 _assert(tracking_policy::did_trap); in tests()
184 _assert(!tracking_policy::did_trap); in tests()
186 _assert(!tracking_policy::did_trap); in tests()
188 _assert(!tracking_policy::did_trap); // offset is now right at its negative limit in tests()
190 _assert(tracking_policy::did_trap); in tests()