Lines Matching refs:reporter
10 DEF_TEST(InsetConvexPoly, reporter) {
34 REPORTER_ASSERT(reporter, SkIsConvexPolygon(rrectPoly.begin(), rrectPoly.count()));
39 REPORTER_ASSERT(reporter, result);
40 REPORTER_ASSERT(reporter, SkIsConvexPolygon(insetPoly.begin(), insetPoly.count()));
44 REPORTER_ASSERT(reporter, result);
45 REPORTER_ASSERT(reporter, SkIsConvexPolygon(insetPoly.begin(), insetPoly.count()));
46 REPORTER_ASSERT(reporter, insetPoly.count() == 4);
48 REPORTER_ASSERT(reporter, insetPoly[0].equals(-95, 45));
49 REPORTER_ASSERT(reporter, insetPoly[1].equals(95, 45));
50 REPORTER_ASSERT(reporter, insetPoly[2].equals(95, -45));
51 REPORTER_ASSERT(reporter, insetPoly[3].equals(-95, -45));
57 REPORTER_ASSERT(reporter, !result);
58 REPORTER_ASSERT(reporter, !SkIsConvexPolygon(insetPoly.begin(), insetPoly.count()));
59 REPORTER_ASSERT(reporter, insetPoly.count() == 2);
61 REPORTER_ASSERT(reporter, insetPoly[0].equals(-50, 0));
62 REPORTER_ASSERT(reporter, insetPoly[1].equals(50, 0));
67 REPORTER_ASSERT(reporter, !result);
68 REPORTER_ASSERT(reporter, insetPoly.count() == 1);
99 REPORTER_ASSERT(reporter, SkIsConvexPolygon(clippedRRectPoly.begin(),
104 REPORTER_ASSERT(reporter, result);
105 REPORTER_ASSERT(reporter, SkIsConvexPolygon(insetPoly.begin(), insetPoly.count()));