| 2642 | } |
| 2643 | |
| 2644 | void |
| 2645 | testFindFirstNotOf() |
| 2646 | { |
| 2647 | test_vectors const t; |
| 2648 | string const s1 = t.v1; |
| 2649 | |
| 2650 | // find_first_not_of(string_view, size_type) |
| 2651 | BOOST_TEST(s1.find_first_not_of("abc") == 3); |
| 2652 | BOOST_TEST(s1.find_first_not_of("cde") == 0); |
| 2653 | |
| 2654 | BOOST_TEST(s1.find_first_not_of("bcd", 0) == 0); |
| 2655 | BOOST_TEST(s1.find_first_not_of("cde", 2) == 5); |
| 2656 | |
| 2657 | // find_first_not_of(char, size_type) |
| 2658 | BOOST_TEST(s1.find_first_not_of('b') == 0); |
| 2659 | BOOST_TEST(s1.find_first_not_of('a', 0) == 1); |
| 2660 | BOOST_TEST(s1.find_first_not_of('e', 4) == 5); |
| 2661 | } |
| 2662 | |
| 2663 | void |
| 2664 | testFindLastOf() |
nothing calls this directly
no test coverage detected