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
Fix misnamed section names in GeneratorsImpl.tests.cpp
- Commit
158232bbf949186f48253196e36b56f898ab5307- Author
- Martin Hořeňovský ·
- Committer
- Leitwolf11
- Parents
123f1ff9fc37
Changes
tests/SelfTest/IntrospectiveTests/GeneratorsImpl.tests.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/SelfTest/IntrospectiveTests/GeneratorsImpl.tests.cpp b/tests/SelfTest/IntrospectiveTests/GeneratorsImpl.tests.cpp index 428099cd..028f272d 100644 --- a/tests/SelfTest/IntrospectiveTests/GeneratorsImpl.tests.cpp +++ b/tests/SelfTest/IntrospectiveTests/GeneratorsImpl.tests.cpp @@ -387,7 +387,7 @@ TEST_CASE("Multiple random generators in one test case output different values", // we use a very high threshold of 20% before failure is reported. REQUIRE(same < 200); } - SECTION("Float") { + SECTION("double") { auto random1 = Catch::Generators::random(0., 1000.); auto random2 = Catch::Generators::random(0., 1000.); size_t same = 0; @@ -543,7 +543,7 @@ TEST_CASE( "Random generators can be seeded", "[generators][approvals]" ) { rng1.next(); rng2.next(); } } - SECTION("Float generator") { + SECTION("Double generator") { using Catch::Generators::RandomFloatingGenerator; RandomFloatingGenerator<double> rng1( 0., 100., 0x1234 ), rng2( 0., 100., 0x1234 );