Skip to content

Commit

Permalink
fix floating point error
Browse files Browse the repository at this point in the history
  • Loading branch information
hendrikmuhs committed Jan 6, 2024
1 parent 073a5cf commit 4b5b918
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keyvi/tests/keyvi/util/json_value_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ BOOST_AUTO_TEST_SUITE(JsonValueTests)

BOOST_AUTO_TEST_CASE(EncodeDecodeTest) {
std::string input =
"{\"hello\":\"world\",\"t\":true,\"f\":false,\"n\":null,\"i\":123,\"j\":-123,\"pi\":3.1415998935699465,\"a\":[1,"
"{\"hello\":\"world\",\"t\":true,\"f\":false,\"n\":null,\"i\":123,\"j\":-123,\"pi\":3.1415998935699463,\"a\":[1,"
"2,3,4],\"d\":{\"k\":\"v\"}}";

std::string encoded = EncodeJsonValue(input);
Expand Down

0 comments on commit 4b5b918

Please sign in to comment.