Lines Matching refs:ends_with
572 ASSERT_TRUE(a.ends_with(a)); in TEST()
573 ASSERT_TRUE(a.ends_with("bar")); in TEST()
574 ASSERT_TRUE(a.ends_with(e)); in TEST()
575 ASSERT_TRUE(b.ends_with(s1)); in TEST()
576 ASSERT_TRUE(b.ends_with(b)); in TEST()
577 ASSERT_TRUE(b.ends_with(e)); in TEST()
578 ASSERT_TRUE(e.ends_with("")); in TEST()
579 ASSERT_TRUE(!a.ends_with(b)); in TEST()
580 ASSERT_TRUE(!b.ends_with(a)); in TEST()
581 ASSERT_TRUE(!e.ends_with(a)); in TEST()
638 ASSERT_TRUE(abc.ends_with(abc)); in TEST()
639 ASSERT_TRUE(!abc.ends_with("abcdefguvwxyz")); in TEST()
640 ASSERT_TRUE(abc.ends_with("nopqrstuvwxyz")); in TEST()
794 static_assert(piece.ends_with(""), ""); in TEST()
795 static_assert(piece.ends_with("c"), ""); in TEST()
796 static_assert(piece.ends_with("bc"), ""); in TEST()
797 static_assert(piece.ends_with("abc"), ""); in TEST()
799 static_assert(!piece.ends_with("a"), ""); in TEST()
800 static_assert(!piece.ends_with("ab"), ""); in TEST()
802 static_assert(!piece.ends_with("abcd"), ""); in TEST()