diff --git a/test/json_unit.cc b/test/json_unit.cc index efb7e42f..8088a171 100644 --- a/test/json_unit.cc +++ b/test/json_unit.cc @@ -1204,6 +1204,9 @@ TEST_CASE("number (float)") json j2 = 2.7182818; double v2 = j2; CHECK(j2.get() == v2); + + int64_t v3 = j2; + CHECK(j2.get() == v3); } SECTION("Operators")