Lines Matching refs:REPORTER_ASSERT

20     REPORTER_ASSERT(reporter, a.empty());
21 REPORTER_ASSERT(reporter, a.count() == 0);
25 REPORTER_ASSERT(reporter, !a.empty());
26 REPORTER_ASSERT(reporter, a.count() == 1);
30 REPORTER_ASSERT(reporter, a.empty());
31 REPORTER_ASSERT(reporter, a.count() == 0);
35 REPORTER_ASSERT(reporter, a.push_back() = 1);
37 REPORTER_ASSERT(reporter, !a.empty());
38 REPORTER_ASSERT(reporter, a.count() == 1);
39 REPORTER_ASSERT(reporter, a[0] == 1);
44 REPORTER_ASSERT(reporter, a.count() == SK_ARRAY_COUNT(b));
45 REPORTER_ASSERT(reporter, a[2] == 2);
46 REPORTER_ASSERT(reporter, a[4] == 4);
50 REPORTER_ASSERT(reporter, a.count() == SK_ARRAY_COUNT(b) - 1);
51 REPORTER_ASSERT(reporter, a[3] == 3);
55 REPORTER_ASSERT(reporter, a.count() == SK_ARRAY_COUNT(b) - 2);
56 REPORTER_ASSERT(reporter, a[0] == 0);
57 REPORTER_ASSERT(reporter, a[1] == 3);
58 REPORTER_ASSERT(reporter, a[2] == 2);
66 REPORTER_ASSERT(reporter, arrayNoArgs.empty());
70 REPORTER_ASSERT(reporter, arrayReserve.empty());
71 REPORTER_ASSERT(reporter, arrayReserve.capacity() == 15);
80 REPORTER_ASSERT(reporter, arrayInitial.size() == 3);
81 REPORTER_ASSERT(reporter, arrayInitial[0] == 1);
82 REPORTER_ASSERT(reporter, arrayInitial[1] == 2);
83 REPORTER_ASSERT(reporter, arrayInitial[2] == 3);
84 REPORTER_ASSERT(reporter, arrayCopy.size() == 3);
85 REPORTER_ASSERT(reporter, arrayCopy[0] == 1);
86 REPORTER_ASSERT(reporter, arrayCopy[1] == 2);
87 REPORTER_ASSERT(reporter, arrayCopy[2] == 3);
91 REPORTER_ASSERT(reporter, arrayInitial.empty()); // NOLINT(bugprone-use-after-move)
92 REPORTER_ASSERT(reporter, arrayMove.size() == 3);
93 REPORTER_ASSERT(reporter, arrayMove[0] == 1);
94 REPORTER_ASSERT(reporter, arrayMove[1] == 2);
95 REPORTER_ASSERT(reporter, arrayMove[2] == 3);
100 REPORTER_ASSERT(reporter, arrayPtrCount.size() == 3);
101 REPORTER_ASSERT(reporter, arrayPtrCount[0] == 7);
102 REPORTER_ASSERT(reporter, arrayPtrCount[1] == 8);
103 REPORTER_ASSERT(reporter, arrayPtrCount[2] == 9);
107 REPORTER_ASSERT(reporter, arrayInitializer.size() == 7);
108 REPORTER_ASSERT(reporter, arrayInitializer[0] == 8);
109 REPORTER_ASSERT(reporter, arrayInitializer[1] == 6);
110 REPORTER_ASSERT(reporter, arrayInitializer[2] == 7);
111 REPORTER_ASSERT(reporter, arrayInitializer[3] == 5);
112 REPORTER_ASSERT(reporter, arrayInitializer[4] == 3);
113 REPORTER_ASSERT(reporter, arrayInitializer[5] == 0);
114 REPORTER_ASSERT(reporter, arrayInitializer[6] == 9);
130 REPORTER_ASSERT(reporter, tArray.size() == 3);
131 REPORTER_ASSERT(reporter, tArray[0] == 1);
132 REPORTER_ASSERT(reporter, tArray[1] == 2);
133 REPORTER_ASSERT(reporter, tArray[2] == 3);
134 REPORTER_ASSERT(reporter, arrayCopy.size() == 3);
135 REPORTER_ASSERT(reporter, arrayCopy[0] == 1);
136 REPORTER_ASSERT(reporter, arrayCopy[1] == 2);
137 REPORTER_ASSERT(reporter, arrayCopy[2] == 3);
142 REPORTER_ASSERT(reporter, tArray.size() == 3);
143 REPORTER_ASSERT(reporter, tArray[0] == 1);
144 REPORTER_ASSERT(reporter, tArray[1] == 2);
145 REPORTER_ASSERT(reporter, tArray[2] == 3);
146 REPORTER_ASSERT(reporter, arrayAssignment.size() == 3);
147 REPORTER_ASSERT(reporter, arrayAssignment[0] == 1);
148 REPORTER_ASSERT(reporter, arrayAssignment[1] == 2);
149 REPORTER_ASSERT(reporter, arrayAssignment[2] == 3);
153 REPORTER_ASSERT(reporter, tArray.empty()); // NOLINT(bugprone-use-after-move)
154 REPORTER_ASSERT(reporter, arrayMove.size() == 3);
155 REPORTER_ASSERT(reporter, arrayMove[0] == 1);
156 REPORTER_ASSERT(reporter, arrayMove[1] == 2);
157 REPORTER_ASSERT(reporter, arrayMove[2] == 3);
162 REPORTER_ASSERT(reporter, tArray2.empty()); // NOLINT(bugprone-use-after-move)
163 REPORTER_ASSERT(reporter, arrayMoveAssign.size() == 3);
164 REPORTER_ASSERT(reporter, arrayMoveAssign[0] == 1);
165 REPORTER_ASSERT(reporter, arrayMoveAssign[1] == 2);
166 REPORTER_ASSERT(reporter, arrayMoveAssign[2] == 3);
189 REPORTER_ASSERT(reporter, b->count() == sizeA);
190 REPORTER_ASSERT(reporter, a->count() == sizeB);
193 for (auto&& x : *b) { REPORTER_ASSERT(reporter, x == curr++); }
194 for (auto&& x : *a) { REPORTER_ASSERT(reporter, x == curr++); }
198 for (auto&& x : *a) { REPORTER_ASSERT(reporter, x == curr++); }
231 REPORTER_ASSERT(reporter, a.capacity() == 0);
235 REPORTER_ASSERT(reporter, a.capacity() == 10);
239 REPORTER_ASSERT(reporter, a.capacity() >= 1);
244 REPORTER_ASSERT(reporter, b.capacity() == 0);
250 REPORTER_ASSERT(reporter, b.capacity() == 0);
255 REPORTER_ASSERT(reporter, b.capacity() == 0);
260 REPORTER_ASSERT(reporter, b.capacity() == 0);
265 REPORTER_ASSERT(reporter, b.capacity() == 0);
270 REPORTER_ASSERT(reporter, b.capacity() == 0);
276 REPORTER_ASSERT(reporter, b.capacity() == 0);
282 REPORTER_ASSERT(reporter, b.capacity() == 0);
289 REPORTER_ASSERT(reporter, !a.empty());
290 REPORTER_ASSERT(reporter, a.count() == 1);
291 REPORTER_ASSERT(reporter, a[0] == 1);
294 REPORTER_ASSERT(reporter, !a.empty());
295 REPORTER_ASSERT(reporter, a.count() == 1);
296 REPORTER_ASSERT(reporter, a[0] == 1);
302 REPORTER_ASSERT(reporter, array->capacity() >= reserveCount);
304 REPORTER_ASSERT(reporter, array->capacity() >= reserveCount);
306 REPORTER_ASSERT(reporter, array->capacity() >= reserveCount);
314 REPORTER_ASSERT(reporter, array->capacity() >= reserveCount);