Lines Matching defs:expected
699 static void dump_if_ne(skiatest::Reporter* reporter, const SkRect& expected, const SkRect& bounds) {
700 if (expected != bounds) {
701 ERRORF(reporter, "path.getBounds() returned [%g %g %g %g], but expected [%g %g %g %g]",
703 expected.left(), expected.top(), expected.right(), expected.bottom());
1049 // (cheapComputeDirection is not expected to catch these.)
1054 SkPathFirstDirection expected) {
1055 if (expected == kDontCheckDir) {
1063 REPORTER_ASSERT(reporter, dir == expected);
2131 SkRect computed, expected;
2135 expected.setBounds(tests[testIndex].fPoints, pointCount);
2139 REPORTER_ASSERT(reporter, expected == computed);
2443 SkRect expected[2], computed[2];
2448 expected[0] = SkRect::MakeLTRB(-1, -1, 2, 2);
2449 expected[1] = testBounds;
2457 REPORTER_ASSERT(reporter, expected[0] == computed[0]);
2458 REPORTER_ASSERT(reporter, expected[1] == computed[1]);
3972 SkRect expected = {0, 0, 4, 4};
3973 REPORTER_ASSERT(reporter, p.getBounds() == expected);
5650 const std::initializer_list<SkPath::Verb>& expected) {
5663 for (auto v : expected) {
5673 const SkPoint* expected = list.begin();
5682 REPORTER_ASSERT(reporter, pts[0] == expected[i]);
5686 REPORTER_ASSERT(reporter, pts[1] == expected[i]);
5710 // check that we return the 4 ponts in the expected order
5759 * Given a path, and the expected last-point and last-move-to in it,
5761 * to the expected value.