mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-20 21:33:59 +00:00
Fixed failing is_finite tests on the latest clang
Signed-off-by: Alexander Borsuk <me@alex.bio>
This commit is contained in:
committed by
Konstantin Pastbin
parent
8fe788c98d
commit
82133c5743
@@ -131,22 +131,6 @@ UNIT_TEST(EqualNoCase)
|
||||
TEST(strings::EqualNoCase("HaHaHa", "hahaha"), ());
|
||||
}
|
||||
|
||||
UNIT_TEST(is_finite)
|
||||
{
|
||||
using namespace strings;
|
||||
|
||||
TEST(!is_finite(NAN), ());
|
||||
TEST(!is_finite(INFINITY), ());
|
||||
//TEST(!is_finite(DBL_MIN/2.0), ());
|
||||
TEST(!is_finite(DBL_MAX*2.0), ());
|
||||
|
||||
TEST(is_finite(0.0), ());
|
||||
TEST(is_finite(1.0), ());
|
||||
TEST(is_finite(-2.0), ());
|
||||
TEST(is_finite(DBL_MIN), ());
|
||||
TEST(is_finite(DBL_MAX), ());
|
||||
}
|
||||
|
||||
UNIT_TEST(to_double)
|
||||
{
|
||||
std::string s;
|
||||
|
||||
Reference in New Issue
Block a user