Lines Matching refs:REPORTER_ASSERT
24 REPORTER_ASSERT(r, map.count() == 1);
26 REPORTER_ASSERT(r, map.approxBytesUsed() > 0);
29 REPORTER_ASSERT(r, found);
30 REPORTER_ASSERT(r, *found == 4.0);
33 REPORTER_ASSERT(r, count(map) == 1);
36 REPORTER_ASSERT(r, found);
37 REPORTER_ASSERT(r, *found == -3.0);
39 REPORTER_ASSERT(r, !map.find(2));
48 REPORTER_ASSERT(r, found);
49 REPORTER_ASSERT(r, *found == i*2.0);
52 REPORTER_ASSERT(r, !map.find(i));
55 REPORTER_ASSERT(r, map.count() == N);
62 REPORTER_ASSERT(r, (found == nullptr) == (i < N/2));
64 REPORTER_ASSERT(r, map.count() == N/2);
67 REPORTER_ASSERT(r, map.count() == 0);
76 REPORTER_ASSERT(r, set.count() == 2);
78 REPORTER_ASSERT(r, set.contains(SkString("Hello")));
79 REPORTER_ASSERT(r, set.contains(SkString("World")));
80 REPORTER_ASSERT(r, !set.contains(SkString("Goodbye")));
82 REPORTER_ASSERT(r, set.find(SkString("Hello")));
83 REPORTER_ASSERT(r, *set.find(SkString("Hello")) == SkString("Hello"));
86 REPORTER_ASSERT(r, !set.contains(SkString("Hello")));
87 REPORTER_ASSERT(r, set.count() == 1);
90 REPORTER_ASSERT(r, set.count() == 0);
137 REPORTER_ASSERT(r, globalCounter == 0);
140 REPORTER_ASSERT(r, globalCounter == 1);
141 REPORTER_ASSERT(r, set.contains(copyCounter1));
142 REPORTER_ASSERT(r, globalCounter == 1);
145 REPORTER_ASSERT(r, globalCounter == 2);
148 REPORTER_ASSERT(r, globalCounter == 3);
149 REPORTER_ASSERT(r, set.contains(copyCounter1));
150 REPORTER_ASSERT(r, set.contains(copyCounter2));
151 REPORTER_ASSERT(r, globalCounter == 3);
155 REPORTER_ASSERT(r, globalCounter == 5);