mirror of
https://github.com/nlohmann/json.git
synced 2025-08-05 22:46:32 +08:00
overflows are handled wrong by Valgrind
This commit is contained in:
parent
a8e92a6bfb
commit
2cfc93fc76
@ -8458,14 +8458,6 @@ TEST_CASE("regression tests")
|
||||
CHECK(json(NAN) == json());
|
||||
}
|
||||
|
||||
SECTION("overflows")
|
||||
{
|
||||
CHECK(json(std::exp(800)) == json());
|
||||
CHECK(json(HUGE_VALF) == json());
|
||||
CHECK(json(HUGE_VAL) == json());
|
||||
CHECK(json(HUGE_VALL) == json());
|
||||
}
|
||||
|
||||
SECTION("infinity")
|
||||
{
|
||||
CHECK(json(INFINITY) == json());
|
||||
|
Loading…
Reference in New Issue
Block a user