Remove non-portable tests

This commit is contained in:
Krystian Stasiowski
2020-02-22 15:57:56 -05:00
parent 8f19268b74
commit 0ae7689cca

View File

@ -3709,32 +3709,26 @@ testToStaticString()
{
auto str = to_static_string(std::numeric_limits<float>::max());
BOOST_TEST(str.find('e') != static_string<0>::npos);
BOOST_TEST(str.find('+') != static_string<0>::npos);
}
{
auto str = to_static_string(std::numeric_limits<double>::max());
BOOST_TEST(str.find('e') != static_string<0>::npos);
BOOST_TEST(str.find('+') != static_string<0>::npos);
}
{
auto str = to_static_string(std::numeric_limits<long double>::max());
BOOST_TEST(str.find('e') != static_string<0>::npos);
BOOST_TEST(str.find('+') != static_string<0>::npos);
}
{
auto str = to_static_wstring(std::numeric_limits<float>::max());
BOOST_TEST(str.find('e') != static_string<0>::npos);
BOOST_TEST(str.find('+') != static_string<0>::npos);
}
{
auto str = to_static_wstring(std::numeric_limits<double>::max());
BOOST_TEST(str.find('e') != static_string<0>::npos);
BOOST_TEST(str.find('+') != static_string<0>::npos);
}
{
auto str = to_static_wstring(std::numeric_limits<long double>::max());
BOOST_TEST(str.find('e') != static_string<0>::npos);
BOOST_TEST(str.find('+') != static_string<0>::npos);
}
}