Home | History | Annotate | Download | only in tests

Lines Matching defs:Digit

30 struct Digit {
135 const auto match = Digit::Match(gTests[i].fInput);
175 const auto m = Seq<LIT<'x'>, Digit>::Match("x5");
180 const auto m = Seq<Digit, Digit>::Match("42");
188 REPORTER_ASSERT(r, !(Choice<Digit,Alpha>::Match("")));
189 REPORTER_ASSERT(r, !(Choice<Digit,Alpha>::Match("\t")));
190 REPORTER_ASSERT(r, !(Choice<Digit,Alpha>::Match(" ")));
191 REPORTER_ASSERT(r, (Choice<Digit,Alpha>::Match("a")));
192 REPORTER_ASSERT(r, (Choice<Digit,Alpha>::Match("3")));
193 REPORTER_ASSERT(r, (Choice<Digit,Alpha>::Match("a ")));
194 REPORTER_ASSERT(r, (Choice<Digit,Alpha>::Match("3 ")));
195 REPORTER_ASSERT(r, !(Choice<Digit,Alpha>::Match(" a ")));
196 REPORTER_ASSERT(r, !(Choice<Digit,Alpha>::Match(" 3 ")));
199 const auto m = Choice<Alpha, Digit>::Match("x");
207 const auto m = Choice<Alpha, Digit>::Match("7");
239 const auto m = Any<Digit>::Match("0123456789foo");
252 Some<Digit>,
255 Some<Digit>>>,