added test cases
This commit is contained in:
parent
2cfc93fc76
commit
bef256600c
1 changed files with 2 additions and 0 deletions
|
@ -8456,11 +8456,13 @@ TEST_CASE("regression tests")
|
|||
SECTION("NAN value")
|
||||
{
|
||||
CHECK(json(NAN) == json());
|
||||
CHECK(json(static_cast<long double>(NAN)) == json());
|
||||
}
|
||||
|
||||
SECTION("infinity")
|
||||
{
|
||||
CHECK(json(INFINITY) == json());
|
||||
CHECK(json(static_cast<long double>(INFINITY)) == json());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue