| 2873 | } |
| 2874 | |
| 2875 | void compare_tests() |
| 2876 | { |
| 2877 | COMPARE_TEST(fs::path("foo"), fs::path("zoo")) |
| 2878 | COMPARE_TEST("foo", "zoo") |
| 2879 | COMPARE_TEST(std::string("foo"), std::string("zoo")) |
| 2880 | COMPARE_TEST(derived_from_path("foo"), derived_from_path("zoo")) |
| 2881 | COMPARE_TEST(boost::container::string("foo"), boost::container::string("zoo")) |
| 2882 | COMPARE_TEST(pcustom_string("foo"), pcustom_string("zoo")) |
| 2883 | COMPARE_TEST(boost::string_view("foo"), boost::string_view("zoo")) |
| 2884 | #if !defined(BOOST_NO_CXX17_HDR_STRING_VIEW) |
| 2885 | COMPARE_TEST(std::string_view("foo"), std::string_view("zoo")) |
| 2886 | #endif |
| 2887 | |
| 2888 | COMPARE_TEST("/foo", "foo") |
| 2889 | COMPARE_TEST("/a/b", "foo") |
| 2890 | COMPARE_TEST("/foo", "/zoo") |
| 2891 | COMPARE_TEST("/foo", "/foo/bar") |
| 2892 | |
| 2893 | if (platform == "Windows") |
| 2894 | { |
| 2895 | COMPARE_TEST("c:\\foo", "d:\\foo") |
| 2896 | COMPARE_TEST("c:\\foo", "c:\\zoo") |
| 2897 | } |
| 2898 | } |
| 2899 | |
| 2900 | inline void odr_use(const path::value_type& c) |
| 2901 | { |
no test coverage detected