mirror of
https://github.com/nlohmann/json.git
synced 2025-08-06 15:46:13 +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());
|
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")
|
SECTION("infinity")
|
||||||
{
|
{
|
||||||
CHECK(json(INFINITY) == json());
|
CHECK(json(INFINITY) == json());
|
||||||
|
Loading…
Reference in New Issue
Block a user