mirror of
https://github.com/boostorg/static_string.git
synced 2025-07-29 20:17:35 +02:00
Remove non-portable tests
This commit is contained in:
@ -3709,32 +3709,26 @@ testToStaticString()
|
|||||||
{
|
{
|
||||||
auto str = to_static_string(std::numeric_limits<float>::max());
|
auto str = to_static_string(std::numeric_limits<float>::max());
|
||||||
BOOST_TEST(str.find('e') != static_string<0>::npos);
|
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());
|
auto str = to_static_string(std::numeric_limits<double>::max());
|
||||||
BOOST_TEST(str.find('e') != static_string<0>::npos);
|
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());
|
auto str = to_static_string(std::numeric_limits<long double>::max());
|
||||||
BOOST_TEST(str.find('e') != static_string<0>::npos);
|
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());
|
auto str = to_static_wstring(std::numeric_limits<float>::max());
|
||||||
BOOST_TEST(str.find('e') != static_string<0>::npos);
|
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());
|
auto str = to_static_wstring(std::numeric_limits<double>::max());
|
||||||
BOOST_TEST(str.find('e') != static_string<0>::npos);
|
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());
|
auto str = to_static_wstring(std::numeric_limits<long double>::max());
|
||||||
BOOST_TEST(str.find('e') != static_string<0>::npos);
|
BOOST_TEST(str.find('e') != static_string<0>::npos);
|
||||||
BOOST_TEST(str.find('+') != static_string<0>::npos);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user