| 2661 | } |
| 2662 | |
| 2663 | void |
| 2664 | testFindLastOf() |
| 2665 | { |
| 2666 | test_vectors const t; |
| 2667 | string const s1 = t.v1; |
| 2668 | |
| 2669 | // find_last_of(string_view, size_type) |
| 2670 | BOOST_TEST(s1.find_last_of("bcd") == 3); |
| 2671 | BOOST_TEST(s1.find_last_of("cde") == 4); |
| 2672 | |
| 2673 | BOOST_TEST(s1.find_last_of("bcd", 3) == 3); |
| 2674 | BOOST_TEST(s1.find_last_of("cde", 5) == 4); |
| 2675 | BOOST_TEST(s1.find_last_of("efg", 3) == string::npos); |
| 2676 | } |
| 2677 | |
| 2678 | void |
| 2679 | testFindLastNotOf() |
nothing calls this directly
no test coverage detected