Lines Matching refs:EXPECT_TRUE
202 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty)); in TYPED_TEST()
206 EXPECT_TRUE(RE::FullMatch(TypeParam("az"), re)); in TYPED_TEST()
207 EXPECT_TRUE(RE::FullMatch(TypeParam("axyz"), re)); in TYPED_TEST()
215 EXPECT_TRUE(RE::PartialMatch(TypeParam(""), empty)); in TYPED_TEST()
216 EXPECT_TRUE(RE::PartialMatch(TypeParam("a"), empty)); in TYPED_TEST()
219 EXPECT_TRUE(RE::PartialMatch(TypeParam("az"), re)); in TYPED_TEST()
220 EXPECT_TRUE(RE::PartialMatch(TypeParam("axyz"), re)); in TYPED_TEST()
221 EXPECT_TRUE(RE::PartialMatch(TypeParam("baz"), re)); in TYPED_TEST()
222 EXPECT_TRUE(RE::PartialMatch(TypeParam("azy"), re)); in TYPED_TEST()
238 EXPECT_TRUE(IsInSet('b', "bcd")); in TEST()
239 EXPECT_TRUE(IsInSet('b', "ab")); in TEST()
252 EXPECT_TRUE(IsDigit('0')); in TEST()
253 EXPECT_TRUE(IsDigit('1')); in TEST()
254 EXPECT_TRUE(IsDigit('5')); in TEST()
255 EXPECT_TRUE(IsDigit('9')); in TEST()
281 EXPECT_TRUE(IsRepeat('?')); in TEST()
282 EXPECT_TRUE(IsRepeat('*')); in TEST()
283 EXPECT_TRUE(IsRepeat('+')); in TEST()
295 EXPECT_TRUE(IsWhiteSpace(' ')); in TEST()
296 EXPECT_TRUE(IsWhiteSpace('\n')); in TEST()
297 EXPECT_TRUE(IsWhiteSpace('\r')); in TEST()
298 EXPECT_TRUE(IsWhiteSpace('\t')); in TEST()
299 EXPECT_TRUE(IsWhiteSpace('\v')); in TEST()
300 EXPECT_TRUE(IsWhiteSpace('\f')); in TEST()
312 EXPECT_TRUE(IsWordChar('a')); in TEST()
313 EXPECT_TRUE(IsWordChar('b')); in TEST()
314 EXPECT_TRUE(IsWordChar('A')); in TEST()
315 EXPECT_TRUE(IsWordChar('Z')); in TEST()
319 EXPECT_TRUE(IsWordChar('0')); in TEST()
320 EXPECT_TRUE(IsWordChar('1')); in TEST()
321 EXPECT_TRUE(IsWordChar('7')); in TEST()
322 EXPECT_TRUE(IsWordChar('9')); in TEST()
326 EXPECT_TRUE(IsWordChar('_')); in TEST()
350 EXPECT_TRUE(IsValidEscape('.')); in TEST()
351 EXPECT_TRUE(IsValidEscape('-')); in TEST()
352 EXPECT_TRUE(IsValidEscape('^')); in TEST()
353 EXPECT_TRUE(IsValidEscape('$')); in TEST()
354 EXPECT_TRUE(IsValidEscape('(')); in TEST()
355 EXPECT_TRUE(IsValidEscape(']')); in TEST()
356 EXPECT_TRUE(IsValidEscape('{')); in TEST()
357 EXPECT_TRUE(IsValidEscape('|')); in TEST()
361 EXPECT_TRUE(IsValidEscape('d')); in TEST()
362 EXPECT_TRUE(IsValidEscape('D')); in TEST()
363 EXPECT_TRUE(IsValidEscape('s')); in TEST()
364 EXPECT_TRUE(IsValidEscape('S')); in TEST()
365 EXPECT_TRUE(IsValidEscape('w')); in TEST()
366 EXPECT_TRUE(IsValidEscape('W')); in TEST()
375 EXPECT_TRUE(AtomMatchesChar(true, '\\', '\\')); in TEST()
376 EXPECT_TRUE(AtomMatchesChar(true, '_', '_')); in TEST()
377 EXPECT_TRUE(AtomMatchesChar(true, '+', '+')); in TEST()
378 EXPECT_TRUE(AtomMatchesChar(true, '.', '.')); in TEST()
386 EXPECT_TRUE(AtomMatchesChar(true, 'd', '0')); in TEST()
387 EXPECT_TRUE(AtomMatchesChar(true, 'd', '9')); in TEST()
394 EXPECT_TRUE(AtomMatchesChar(true, 'D', '\0')); in TEST()
395 EXPECT_TRUE(AtomMatchesChar(true, 'D', 'a')); in TEST()
396 EXPECT_TRUE(AtomMatchesChar(true, 'D', '-')); in TEST()
405 EXPECT_TRUE(AtomMatchesChar(true, 's', ' ')); in TEST()
406 EXPECT_TRUE(AtomMatchesChar(true, 's', '\n')); in TEST()
407 EXPECT_TRUE(AtomMatchesChar(true, 's', '\t')); in TEST()
414 EXPECT_TRUE(AtomMatchesChar(true, 'S', '\0')); in TEST()
415 EXPECT_TRUE(AtomMatchesChar(true, 'S', 'a')); in TEST()
416 EXPECT_TRUE(AtomMatchesChar(true, 'S', '9')); in TEST()
425 EXPECT_TRUE(AtomMatchesChar(true, 'w', '0')); in TEST()
426 EXPECT_TRUE(AtomMatchesChar(true, 'w', 'b')); in TEST()
427 EXPECT_TRUE(AtomMatchesChar(true, 'w', 'C')); in TEST()
428 EXPECT_TRUE(AtomMatchesChar(true, 'w', '_')); in TEST()
437 EXPECT_TRUE(AtomMatchesChar(true, 'W', '\0')); in TEST()
438 EXPECT_TRUE(AtomMatchesChar(true, 'W', '*')); in TEST()
439 EXPECT_TRUE(AtomMatchesChar(true, 'W', '\n')); in TEST()
454 EXPECT_TRUE(AtomMatchesChar(true, 'f', '\f')); in TEST()
455 EXPECT_TRUE(AtomMatchesChar(true, 'n', '\n')); in TEST()
456 EXPECT_TRUE(AtomMatchesChar(true, 'r', '\r')); in TEST()
457 EXPECT_TRUE(AtomMatchesChar(true, 't', '\t')); in TEST()
458 EXPECT_TRUE(AtomMatchesChar(true, 'v', '\v')); in TEST()
464 EXPECT_TRUE(AtomMatchesChar(false, '.', '\0')); in TEST()
465 EXPECT_TRUE(AtomMatchesChar(false, '.', '.')); in TEST()
466 EXPECT_TRUE(AtomMatchesChar(false, '.', 'a')); in TEST()
467 EXPECT_TRUE(AtomMatchesChar(false, '.', ' ')); in TEST()
475 EXPECT_TRUE(AtomMatchesChar(false, '$', '$')); in TEST()
476 EXPECT_TRUE(AtomMatchesChar(false, '5', '5')); in TEST()
477 EXPECT_TRUE(AtomMatchesChar(false, 'Z', 'Z')); in TEST()
517 EXPECT_TRUE(ValidateRegex("")); in TEST()
518 EXPECT_TRUE(ValidateRegex("a")); in TEST()
519 EXPECT_TRUE(ValidateRegex(".*")); in TEST()
520 EXPECT_TRUE(ValidateRegex("^a_+")); in TEST()
521 EXPECT_TRUE(ValidateRegex("^a\\t\\&?")); in TEST()
522 EXPECT_TRUE(ValidateRegex("09*$")); in TEST()
523 EXPECT_TRUE(ValidateRegex("^Z$")); in TEST()
524 EXPECT_TRUE(ValidateRegex("a\\^Z\\$\\(\\)\\|\\[\\]\\{\\}")); in TEST()
533 EXPECT_TRUE(MatchRepetitionAndRegexAtHead(false, 'a', '?', "b", "ba")); in TEST()
535 EXPECT_TRUE(MatchRepetitionAndRegexAtHead(false, 'a', '?', "b", "ab")); in TEST()
536 EXPECT_TRUE(MatchRepetitionAndRegexAtHead(false, '#', '?', ".", "##")); in TEST()
543 EXPECT_TRUE(MatchRepetitionAndRegexAtHead(false, '.', '*', "b", "bc")); in TEST()
545 EXPECT_TRUE(MatchRepetitionAndRegexAtHead(false, '.', '*', "b", "abc")); in TEST()
547 EXPECT_TRUE(MatchRepetitionAndRegexAtHead(true, 'w', '*', "-", "ab_1-g")); in TEST()
556 EXPECT_TRUE(MatchRepetitionAndRegexAtHead(false, '.', '+', "b", "abc")); in TEST()
558 EXPECT_TRUE(MatchRepetitionAndRegexAtHead(true, 'w', '+', "-", "ab_1-g")); in TEST()
562 EXPECT_TRUE(MatchRegexAtHead("", "")); in TEST()
563 EXPECT_TRUE(MatchRegexAtHead("", "ab")); in TEST()
569 EXPECT_TRUE(MatchRegexAtHead("$", "")); in TEST()
570 EXPECT_TRUE(MatchRegexAtHead("a$", "a")); in TEST()
577 EXPECT_TRUE(MatchRegexAtHead("\\sa", "\nab")); in TEST()
578 EXPECT_TRUE(MatchRegexAtHead("\\d", "1a")); in TEST()
585 EXPECT_TRUE(MatchRegexAtHead(".*a", "bc12-ab")); in TEST()
586 EXPECT_TRUE(MatchRegexAtHead("a?b", "b")); in TEST()
587 EXPECT_TRUE(MatchRegexAtHead("a?b", "ab")); in TEST()
595 EXPECT_TRUE(MatchRegexAtHead("\\(*a", "((((ab")); in TEST()
596 EXPECT_TRUE(MatchRegexAtHead("\\^?b", "^b")); in TEST()
597 EXPECT_TRUE(MatchRegexAtHead("\\\\?b", "b")); in TEST()
598 EXPECT_TRUE(MatchRegexAtHead("\\\\?b", "\\b")); in TEST()
604 EXPECT_TRUE(MatchRegexAtHead("ab.*c", "ab-fsc")); in TEST()
615 EXPECT_TRUE(MatchRegexAnywhere("^a", "ab")); in TEST()
616 EXPECT_TRUE(MatchRegexAnywhere("^", "ab")); in TEST()
617 EXPECT_TRUE(MatchRegexAnywhere("^$", "")); in TEST()
626 EXPECT_TRUE(MatchRegexAnywhere("\\w+", "ab1_ - 5")); in TEST()
627 EXPECT_TRUE(MatchRegexAnywhere(".*=", "=")); in TEST()
628 EXPECT_TRUE(MatchRegexAnywhere("x.*ab?.*bc", "xaaabc")); in TEST()
632 EXPECT_TRUE(MatchRegexAnywhere("\\w+", "$$$ ab1_ - 5")); in TEST()
633 EXPECT_TRUE(MatchRegexAnywhere("\\.+=", "= ...=")); in TEST()
663 EXPECT_TRUE(RE::FullMatch("", empty)); in TEST()
667 EXPECT_TRUE(RE::FullMatch("a", re1)); in TEST()
670 EXPECT_TRUE(RE::FullMatch("az", re)); in TEST()
671 EXPECT_TRUE(RE::FullMatch("axyz", re)); in TEST()
679 EXPECT_TRUE(RE::PartialMatch("", empty)); in TEST()
680 EXPECT_TRUE(RE::PartialMatch("a", empty)); in TEST()
683 EXPECT_TRUE(RE::PartialMatch("az", re)); in TEST()
684 EXPECT_TRUE(RE::PartialMatch("axyz", re)); in TEST()
685 EXPECT_TRUE(RE::PartialMatch("baz", re)); in TEST()
686 EXPECT_TRUE(RE::PartialMatch("azy", re)); in TEST()