Lines Matching refs:REPORTER_ASSERT

28     REPORTER_ASSERT(r, map.count() == 1);
30 REPORTER_ASSERT(r, map.approxBytesUsed() > 0);
33 REPORTER_ASSERT(r, found);
34 REPORTER_ASSERT(r, *found == 4.0);
37 REPORTER_ASSERT(r, count(map) == 1);
40 REPORTER_ASSERT(r, found);
41 REPORTER_ASSERT(r, *found == -3.0);
43 REPORTER_ASSERT(r, !map.find(2));
53 REPORTER_ASSERT(r, iter->first * 2 == (*iter).second);
58 REPORTER_ASSERT(r, entry.first * 2 == entry.second);
64 REPORTER_ASSERT(r, iter->first * 2 == (*iter).second);
69 REPORTER_ASSERT(r, entry.first * 2 == entry.second);
74 REPORTER_ASSERT(r, number * 2 == timesTwo);
81 REPORTER_ASSERT(r, found);
82 REPORTER_ASSERT(r, *found == i*2.0);
85 REPORTER_ASSERT(r, found);
86 REPORTER_ASSERT(r, *found == i*2.0);
89 REPORTER_ASSERT(r, !map.find(i));
90 REPORTER_ASSERT(r, !clone.find(i));
93 REPORTER_ASSERT(r, map.count() == N);
94 REPORTER_ASSERT(r, clone.count() == N);
101 REPORTER_ASSERT(r, (found == nullptr) == (i < N/2));
104 REPORTER_ASSERT(r, *found == i*2.0);
106 REPORTER_ASSERT(r, map.count() == N/2);
107 REPORTER_ASSERT(r, clone.count() == N);
110 REPORTER_ASSERT(r, map.count() == 0);
111 REPORTER_ASSERT(r, clone.count() == N);
114 REPORTER_ASSERT(r, clone.count() == 0);
120 REPORTER_ASSERT(r, ref->unique());
123 REPORTER_ASSERT(r, refMap.count() == 1);
124 REPORTER_ASSERT(r, !ref->unique());
127 REPORTER_ASSERT(r, refMap.count() == 0);
128 REPORTER_ASSERT(r, ref->unique());
137 REPORTER_ASSERT(r, set.count() == 2);
138 REPORTER_ASSERT(r, set.contains(SkString("Hello")));
139 REPORTER_ASSERT(r, set.contains(SkString("World")));
140 REPORTER_ASSERT(r, !set.contains(SkString("Goodbye")));
141 REPORTER_ASSERT(r, set.find(SkString("Hello")));
142 REPORTER_ASSERT(r, *set.find(SkString("Hello")) == SkString("Hello"));
146 REPORTER_ASSERT(r, iter->equals("Hello") || (*iter).equals("World"));
151 REPORTER_ASSERT(r, iter->equals("Hello") || (*iter).equals("World"));
156 REPORTER_ASSERT(r, entry.equals("Hello") || entry.equals("World"));
162 REPORTER_ASSERT(r, iter->equals("Hello") || (*iter).equals("World"));
167 REPORTER_ASSERT(r, entry.equals("Hello") || entry.equals("World"));
171 REPORTER_ASSERT(r, clone.count() == 2);
172 REPORTER_ASSERT(r, clone.contains(SkString("Hello")));
173 REPORTER_ASSERT(r, clone.contains(SkString("World")));
174 REPORTER_ASSERT(r, !clone.contains(SkString("Goodbye")));
175 REPORTER_ASSERT(r, clone.find(SkString("Hello")));
176 REPORTER_ASSERT(r, *clone.find(SkString("Hello")) == SkString("Hello"));
179 REPORTER_ASSERT(r, !set.contains(SkString("Hello")));
180 REPORTER_ASSERT(r, set.count() == 1);
181 REPORTER_ASSERT(r, clone.contains(SkString("Hello")));
182 REPORTER_ASSERT(r, clone.count() == 2);
185 REPORTER_ASSERT(r, set.count() == 0);
188 REPORTER_ASSERT(r, clone.count() == 0);
242 REPORTER_ASSERT(r, globalCounter == 0);
245 REPORTER_ASSERT(r, globalCounter == 1);
246 REPORTER_ASSERT(r, set.contains(copyCounter1));
247 REPORTER_ASSERT(r, globalCounter == 1);
250 REPORTER_ASSERT(r, globalCounter == 2);
253 REPORTER_ASSERT(r, globalCounter == 3);
254 REPORTER_ASSERT(r, set.contains(copyCounter1));
255 REPORTER_ASSERT(r, set.contains(copyCounter2));
256 REPORTER_ASSERT(r, globalCounter == 3);
260 REPORTER_ASSERT(r, globalCounter == 5);
277 REPORTER_ASSERT(r, nullptr == table.findOrNull(7));
282 REPORTER_ASSERT(r, &seven == table.findOrNull(7));
288 REPORTER_ASSERT(r, s.count() == count);
289 REPORTER_ASSERT(r, s.approxBytesUsed() == (sizeof(int) + sizeof(uint32_t)) * cap);
345 REPORTER_ASSERT(r, sizeof(data1) == sizeof(data2));
346 REPORTER_ASSERT(r, memcmp(data1, data2, sizeof(data1)) != 0);
350 REPORTER_ASSERT(r, hash1 != hash2);