| 34 | BOOST_AUTO_TEST_SUITE(ToStringTest) |
| 35 | |
| 36 | BOOST_AUTO_TEST_CASE(base_types_to_string) { |
| 37 | BOOST_CHECK_EQUAL(to_string(10), "10"); |
| 38 | BOOST_CHECK_EQUAL(to_string(true), "1"); |
| 39 | BOOST_CHECK_EQUAL(to_string('a'), "a"); |
| 40 | BOOST_CHECK_EQUAL(to_string(1.2), "1.2"); |
| 41 | BOOST_CHECK_EQUAL(to_string("abc"), "abc"); |
| 42 | } |
| 43 | |
| 44 | // NOTE: Currently (as of 2021.08.12) the locale-based tests do not work on |
| 45 | // Windows in the AppVeyor Thrift CI build correctly. Therefore disabled on |
nothing calls this directly
no test coverage detected