Lines Matching refs:Reporter
22 static void test_isRectFinite(skiatest::Reporter* reporter) {
62 REPORTER_ASSERT(reporter, gSets[i].fIsFinite == rectIsFinite);
102 static void test_floatclass(skiatest::Reporter* reporter, float value, FloatClass fc) {
105 REPORTER_ASSERT(reporter, !!sk_float_isfinite(value) == (fc == kFinite));
106 REPORTER_ASSERT(reporter, !!sk_float_isinf(value) == (fc == kInfinite));
107 REPORTER_ASSERT(reporter, !!sk_float_isnan(value) == (fc == kNaN));
117 static void test_isfinite(skiatest::Reporter* reporter) {
127 test_floatclass(reporter, 0, kFinite);
128 test_floatclass(reporter, max, kFinite);
129 test_floatclass(reporter, -max, kFinite);
130 test_floatclass(reporter, inf, kInfinite);
131 test_floatclass(reporter, -inf, kInfinite);
132 test_floatclass(reporter, nan, kNaN);
133 test_floatclass(reporter, -nan, kNaN);
164 REPORTER_ASSERT(reporter, rec.fIsFinite == finite);
178 REPORTER_ASSERT(reporter, finite2 == finite);
184 test_isRectFinite(reporter);
191 DEF_TEST(Scalar, reporter) {
192 test_isfinite(reporter);