Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/tests/Progmasoft/Strategy.tests.cpp
diff options
context:
space:
mode:
authorLeitwolf112026-10-29 19:30:46 +0300
committerLeitwolf112026-10-29 19:30:46 +0300
commit0b4b57a0688f2943f4c797c20d68d533cf70fd15 (patch)
tree3af5223ff664544d15eaf20a10eccdf3465d9958 /tests/Progmasoft/Strategy.tests.cpp
parentf41a9c3c01b4df1100e24a63987716cb4dbf28f2 (diff)
downloadcatch3-feature/catch3-json.tar.gz
Compare whole numbers in catch3.json without floating-point equalityfeature/catch3-json
Clang's -Wfloat-equal, an error in the development builds, rejected the version check, which compared the JSON number with 1.0 by ==. The version is now read through the same whole-number check as the counts and compared as an integer, and that check asks whether the number exceeds its floor instead of comparing the two for equality. The test of the confidence interval compares within 1e-12. The amalgamated source is regenerated.
Diffstat (limited to 'tests/Progmasoft/Strategy.tests.cpp')
0 files changed, 0 insertions, 0 deletions