• Home
  • Raw
  • Download

Lines Matching refs:REPORTER_ASSERT

20     REPORTER_ASSERT(reporter, a.empty());  in TestTSet_basic()
21 REPORTER_ASSERT(reporter, a.count() == 0); in TestTSet_basic()
25 REPORTER_ASSERT(reporter, !a.empty()); in TestTSet_basic()
26 REPORTER_ASSERT(reporter, a.count() == 1); in TestTSet_basic()
30 REPORTER_ASSERT(reporter, a.empty()); in TestTSet_basic()
31 REPORTER_ASSERT(reporter, a.count() == 0); in TestTSet_basic()
35 REPORTER_ASSERT(reporter, a.push_back() = 1); in TestTSet_basic()
37 REPORTER_ASSERT(reporter, !a.empty()); in TestTSet_basic()
38 REPORTER_ASSERT(reporter, a.count() == 1); in TestTSet_basic()
39 REPORTER_ASSERT(reporter, a[0] == 1); in TestTSet_basic()
44 REPORTER_ASSERT(reporter, a.count() == SK_ARRAY_COUNT(b)); in TestTSet_basic()
45 REPORTER_ASSERT(reporter, a[2] == 2); in TestTSet_basic()
46 REPORTER_ASSERT(reporter, a[4] == 4); in TestTSet_basic()
50 REPORTER_ASSERT(reporter, a.count() == SK_ARRAY_COUNT(b) - 1); in TestTSet_basic()
51 REPORTER_ASSERT(reporter, a[3] == 3); in TestTSet_basic()
55 REPORTER_ASSERT(reporter, a.count() == SK_ARRAY_COUNT(b) - 2); in TestTSet_basic()
56 REPORTER_ASSERT(reporter, a[0] == 0); in TestTSet_basic()
57 REPORTER_ASSERT(reporter, a[1] == 3); in TestTSet_basic()
58 REPORTER_ASSERT(reporter, a[2] == 2); in TestTSet_basic()
83 REPORTER_ASSERT(reporter, b->count() == sizeA); in test_swap()
84 REPORTER_ASSERT(reporter, a->count() == sizeB); in test_swap()
87 for (auto&& x : *b) { REPORTER_ASSERT(reporter, x == curr++); } in test_swap()
88 for (auto&& x : *a) { REPORTER_ASSERT(reporter, x == curr++); } in test_swap()
92 for (auto&& x : *a) { REPORTER_ASSERT(reporter, x == curr++); } in test_swap()
127 REPORTER_ASSERT(reporter, array.back()->unique()); in test_copy_ctor()
133 REPORTER_ASSERT(reporter, !ref->unique()); in test_copy_ctor()
135 REPORTER_ASSERT(reporter, !ref->unique()); in test_copy_ctor()
139 REPORTER_ASSERT(reporter, ref->unique()); in test_copy_ctor()
149 REPORTER_ASSERT(reporter, !copy[0]->unique()); \ in test_move()
154 REPORTER_ASSERT(reporter, move[0]->unique()); \ in test_move()
156 REPORTER_ASSERT(reporter, src.empty()); \ in test_move()
162 REPORTER_ASSERT(reporter, !copy[0]->unique()); \ in test_move()
168 REPORTER_ASSERT(reporter, move[0]->unique()); \ in test_move()
170 REPORTER_ASSERT(reporter, src.empty()); \ in test_move()
230 REPORTER_ASSERT(reporter, a.allocCntForTest() == 0); in test_unnecessary_alloc()
234 REPORTER_ASSERT(reporter, a.allocCntForTest() == 10); in test_unnecessary_alloc()
238 REPORTER_ASSERT(reporter, a.allocCntForTest() >= 1); in test_unnecessary_alloc()
243 REPORTER_ASSERT(reporter, b.allocCntForTest() == 0); in test_unnecessary_alloc()
249 REPORTER_ASSERT(reporter, b.allocCntForTest() == 0); in test_unnecessary_alloc()
254 REPORTER_ASSERT(reporter, b.allocCntForTest() == 0); in test_unnecessary_alloc()
259 REPORTER_ASSERT(reporter, b.allocCntForTest() == 0); in test_unnecessary_alloc()
264 REPORTER_ASSERT(reporter, b.allocCntForTest() == 0); in test_unnecessary_alloc()
269 REPORTER_ASSERT(reporter, b.allocCntForTest() == 0); in test_unnecessary_alloc()
275 REPORTER_ASSERT(reporter, b.allocCntForTest() == 0); in test_unnecessary_alloc()
281 REPORTER_ASSERT(reporter, b.allocCntForTest() == 0); in test_unnecessary_alloc()
288 REPORTER_ASSERT(reporter, !a.empty()); in test_self_assignment()
289 REPORTER_ASSERT(reporter, a.count() == 1); in test_self_assignment()
290 REPORTER_ASSERT(reporter, a[0] == 1); in test_self_assignment()
293 REPORTER_ASSERT(reporter, !a.empty()); in test_self_assignment()
294 REPORTER_ASSERT(reporter, a.count() == 1); in test_self_assignment()
295 REPORTER_ASSERT(reporter, a[0] == 1); in test_self_assignment()
301 REPORTER_ASSERT(reporter, array->allocCntForTest() >= reserveCount); in test_array_reserve()
303 REPORTER_ASSERT(reporter, array->allocCntForTest() >= reserveCount); in test_array_reserve()
305 REPORTER_ASSERT(reporter, array->allocCntForTest() >= reserveCount); in test_array_reserve()
313 REPORTER_ASSERT(reporter, array->allocCntForTest() >= reserveCount); in test_array_reserve()