From 75ba6ae4ff086e730f9ab334b04c394dd6289184 Mon Sep 17 00:00:00 2001 From: Niels Date: Tue, 20 Jan 2015 21:35:08 +0100 Subject: [PATCH] + improved test case coverage --- test/json_unit.cc | 3 +++ 1 file changed, 3 insertions(+) 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")