D | SkPEGTest.cpp | 21 static MatchT Match(const char* in) { in Match() function 34 static MatchT Match(const char* in) { in Match() function 54 const auto match = EOS::Match(gTests[i].fInput); in test_EOS() 74 const auto match = LIT<'X'>::Match(gTests[i].fInput); in test_LIT() 79 REPORTER_ASSERT(r, !(LIT<'F', 'o', 'o'>::Match(""))); in test_LIT() 80 REPORTER_ASSERT(r, !(LIT<'F', 'o', 'o'>::Match("Fo"))); in test_LIT() 81 REPORTER_ASSERT(r, !(LIT<'F', 'o', 'o'>::Match("FoO"))); in test_LIT() 82 REPORTER_ASSERT(r, (LIT<'F', 'o', 'o'>::Match("Foo"))); in test_LIT() 83 REPORTER_ASSERT(r, (LIT<'F', 'o', 'o'>::Match("Foobar"))); in test_LIT() 109 const auto match = Alpha::Match(gTests[i].fInput); in test_Alpha() [all …]
|