Searched refs:gIterTests (Results 1 – 1 of 1) sorted by relevance
2432 static const struct iterTestData gIterTests[] = { in test_iter() local2448 for (size_t i = 0; i < SK_ARRAY_COUNT(gIterTests); ++i) { in test_iter()2450 bool valid = SkParsePath::FromSVGString(gIterTests[i].testPath, &p); in test_iter()2452 iter.setPath(p, gIterTests[i].forceClose); in test_iter()2455 …REPORTER_ASSERT(reporter, iter.next(pts, gIterTests[i].consumeDegenerates) == gIterTests[i].result… in test_iter()2456 for (int k = 0; k < (int)gIterTests[i].numResultPtsPerVerb[j]; ++k) { in test_iter()2457 REPORTER_ASSERT(reporter, pts[k] == gIterTests[i].resultPts[l++]); in test_iter()2459 } while (gIterTests[i].resultVerbs[j++] != SkPath::kDone_Verb); in test_iter()2460 REPORTER_ASSERT(reporter, j == (int)gIterTests[i].numResultVerbs); in test_iter()