catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Convert to double in the coverage report explicitly
- Commit
e273973f9bc365a646fad427169416c37da28e98- Author
- Leitwolf11 ·
- Parents
9e1687de6064
Changes
extras/catch_amalgamated.cpp | 2 +- extras/catch_amalgamated.hpp | 2 +- extras/catch_amalgamated_third_party.hpp | 2 +- src/Progmasoft/Catch3/Property.hpp | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/extras/catch_amalgamated.cpp b/extras/catch_amalgamated.cpp index 6048e0a2..3151faf3 100644 --- a/extras/catch_amalgamated.cpp +++ b/extras/catch_amalgamated.cpp @@ -7,7 +7,7 @@ // SPDX-License-Identifier: BSL-1.0 // Catch3 v0.3.0, on the Catch2 v3.16.1 engine -// Generated: 2026-10-31 13:33:37.309963 +// Generated: 2026-10-31 20:20:20.891771 // ---------------------------------------------------------- // This file is an amalgamation of multiple different files. // You probably shouldn't edit it directly. diff --git a/extras/catch_amalgamated.hpp b/extras/catch_amalgamated.hpp index 48e54fc3..f26b0811 100644 --- a/extras/catch_amalgamated.hpp +++ b/extras/catch_amalgamated.hpp @@ -7,7 +7,7 @@ // SPDX-License-Identifier: BSL-1.0 // Catch3 v0.3.0, on the Catch2 v3.16.1 engine -// Generated: 2026-10-31 13:33:37.220554 +// Generated: 2026-10-31 20:20:20.604513 // ---------------------------------------------------------- // This file is an amalgamation of multiple different files. // You probably shouldn't edit it directly. diff --git a/extras/catch_amalgamated_third_party.hpp b/extras/catch_amalgamated_third_party.hpp index 3a0d2e95..6a48d4dd 100644 --- a/extras/catch_amalgamated_third_party.hpp +++ b/extras/catch_amalgamated_third_party.hpp @@ -1,5 +1,5 @@ // Catch3 v0.3.0: yyjson and pugixml for catch_amalgamated.cpp -// Generated: 2026-10-31 13:33:37.396913 +// Generated: 2026-10-31 20:20:21.165039 // ---------------------------------------------------------- // This file is an amalgamation of src/Progmasoft/Runner/Yyjson.inl, // src/Progmasoft/PugiXml.inl and the libraries they include from diff --git a/src/Progmasoft/Catch3/Property.hpp b/src/Progmasoft/Catch3/Property.hpp index 1b9ffdaf..5962eaaf 100644 --- a/src/Progmasoft/Catch3/Property.hpp +++ b/src/Progmasoft/Catch3/Property.hpp @@ -188,8 +188,8 @@ namespace Progmasoft::Catch3 { output << "\n " << statistic.Label << ": " << statistic.Count << " (" - << static_cast<long long>(statistic.Percentage * 10.0 - + 0.5) + << static_cast<double>(static_cast<long long>( + statistic.Percentage * 10.0 + 0.5)) / 10.0 << "%"; if (statistic.Required > 0.0)