mirror of
https://github.com/nlohmann/json.git
synced 2026-03-28 11:52:52 +00:00
+ improved test case coverage
This commit is contained in:
@@ -1204,6 +1204,9 @@ TEST_CASE("number (float)")
|
||||
json j2 = 2.7182818;
|
||||
double v2 = j2;
|
||||
CHECK(j2.get<double>() == v2);
|
||||
|
||||
int64_t v3 = j2;
|
||||
CHECK(j2.get<int64_t>() == v3);
|
||||
}
|
||||
|
||||
SECTION("Operators")
|
||||
|
||||
Reference in New Issue
Block a user