• Home
  • Raw
  • Download

Lines Matching refs:LIT

75         const auto match = LIT<'X'>::Match(gTests[i].fInput);  in test_LIT()
80 REPORTER_ASSERT(r, !(LIT<'F', 'o', 'o'>::Match(""))); in test_LIT()
81 REPORTER_ASSERT(r, !(LIT<'F', 'o', 'o'>::Match("Fo"))); 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("Foo"))); in test_LIT()
84 REPORTER_ASSERT(r, (LIT<'F', 'o', 'o'>::Match("Foobar"))); in test_LIT()
158 const auto m = Opt<LIT<'f', 'o', 'o'>>::Match(gTests[i].fInput); in test_Opt()
165 REPORTER_ASSERT(r, (Seq<LIT<'X'>, EOS>::Match("X"))); in test_Seq()
166 REPORTER_ASSERT(r, !(Seq<LIT<'X'>, EOS>::Match("x"))); in test_Seq()
167 REPORTER_ASSERT(r, !(Seq<LIT<'X'>, EOS>::Match("xX"))); in test_Seq()
168 REPORTER_ASSERT(r, !(Seq<LIT<'X'>, EOS>::Match("XX"))); in test_Seq()
169 REPORTER_ASSERT(r, (Seq<LIT<'X'>, Seq<LIT<'X'>, EOS>>::Match("XX"))); in test_Seq()
170 REPORTER_ASSERT(r, (Seq<LIT<'X'>, Seq<LIT<'X'>, EOS>>::Match("XX"))); in test_Seq()
172 REPORTER_ASSERT(r, !(Seq<LIT<'F', 'o', 'o'>, EOS>::Match("FooBar"))); in test_Seq()
173 REPORTER_ASSERT(r, (Seq<LIT<'F', 'o', 'o'>, EOS>::Match("Foo"))); in test_Seq()
176 const auto m = Seq<LIT<'x'>, Digit>::Match("x5"); in test_Seq()
229 const auto matchAny = Any<LIT<'f', 'o', 'o'>>::Match(gTests[i].fInput); in test_AnySome()
233 const auto matchSome = Some<LIT<'f', 'o', 'o'>>::Match(gTests[i].fInput); in test_AnySome()
255 LIT<','>, in test_Complex()
271 Any<LIT<' '>>, in test_Complex()
272 Choice<LIT<'F'>, LIT<'f'>>, in test_Complex()
273 LIT<'o', 'o'>, in test_Complex()
275 Choice<LIT<'B'>, LIT<'b'>>, in test_Complex()
276 LIT<'a', 'r'>>>, in test_Complex()
277 Choice<LIT<'B'>, LIT<'b'>>, in test_Complex()
278 LIT<'a', 'z'>, in test_Complex()
279 Any<LIT<' '>>, in test_Complex()