Lines Matching refs:Digit
31 struct Digit { struct
136 const auto match = Digit::Match(gTests[i].fInput); in test_Digit()
176 const auto m = Seq<LIT<'x'>, Digit>::Match("x5"); in test_Seq()
181 const auto m = Seq<Digit, Digit>::Match("42"); in test_Seq()
189 REPORTER_ASSERT(r, !(Choice<Digit,Alpha>::Match(""))); in test_Choice()
190 REPORTER_ASSERT(r, !(Choice<Digit,Alpha>::Match("\t"))); in test_Choice()
191 REPORTER_ASSERT(r, !(Choice<Digit,Alpha>::Match(" "))); in test_Choice()
192 REPORTER_ASSERT(r, (Choice<Digit,Alpha>::Match("a"))); in test_Choice()
193 REPORTER_ASSERT(r, (Choice<Digit,Alpha>::Match("3"))); in test_Choice()
194 REPORTER_ASSERT(r, (Choice<Digit,Alpha>::Match("a "))); in test_Choice()
195 REPORTER_ASSERT(r, (Choice<Digit,Alpha>::Match("3 "))); in test_Choice()
196 REPORTER_ASSERT(r, !(Choice<Digit,Alpha>::Match(" a "))); in test_Choice()
197 REPORTER_ASSERT(r, !(Choice<Digit,Alpha>::Match(" 3 "))); in test_Choice()
200 const auto m = Choice<Alpha, Digit>::Match("x"); in test_Choice()
208 const auto m = Choice<Alpha, Digit>::Match("7"); in test_Choice()
240 const auto m = Any<Digit>::Match("0123456789foo"); in test_AnySome()
253 Some<Digit>, in test_Complex()
256 Some<Digit>>>, in test_Complex()