Skip to content

Commit

Permalink
added additional floating-point tests
Browse files Browse the repository at this point in the history
  • Loading branch information
marzer committed Nov 26, 2022
1 parent 0a90913 commit 0e21bbd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/user_feedback.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -375,4 +375,11 @@ b = []
b = [c"]
)"sv);
}

SECTION("tomlplusplus/issues/179") // https://github.com/marzer/tomlplusplus/issues/179
{
parse_expected_value(FILE_LINE_ARGS, "0.848213"sv, 0.848213);
parse_expected_value(FILE_LINE_ARGS, "6.9342"sv, 6.9342);
parse_expected_value(FILE_LINE_ARGS, "-995.9214"sv, -995.9214);
}
}

0 comments on commit 0e21bbd

Please sign in to comment.