| 9 | BOOST_AUTO_TEST_SUITE(base_match) |
| 10 | |
| 11 | BOOST_AUTO_TEST_CASE(tolong) |
| 12 | { |
| 13 | BOOST_CHECK(Utility::Match("*", "hello")); |
| 14 | BOOST_CHECK(!Utility::Match("\\**", "hello")); |
| 15 | BOOST_CHECK(Utility::Match("\\**", "*ello")); |
| 16 | BOOST_CHECK(Utility::Match("?e*l?", "hello")); |
| 17 | BOOST_CHECK(Utility::Match("?e*l?", "helo")); |
| 18 | BOOST_CHECK(!Utility::Match("world", "hello")); |
| 19 | BOOST_CHECK(!Utility::Match("hee*", "hello")); |
| 20 | BOOST_CHECK(Utility::Match("he??o", "hello")); |
| 21 | BOOST_CHECK(Utility::Match("he?", "hel")); |
| 22 | BOOST_CHECK(Utility::Match("he*", "hello")); |
| 23 | BOOST_CHECK(Utility::Match("he*o", "heo")); |
| 24 | BOOST_CHECK(Utility::Match("he**o", "heo")); |
| 25 | BOOST_CHECK(Utility::Match("he**o", "hello")); |
| 26 | } |
| 27 | |
| 28 | BOOST_AUTO_TEST_SUITE_END() |
nothing calls this directly
no outgoing calls
no test coverage detected