Progmasoft Git

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 bad copy pasted comment in RandomNumberGeneration.tests.cpp

Upstream-commit: catchorg/Catch2@932afd47b0cf8c2753568ec91961e9e21416efcf
Commit
98e4f8c8947c6e93ad76afb9a6f77a05e3bd20e4
Author
Martin Hořeňovský ·
Committer
Leitwolf11
Parents
158232bbf949

Files · Download .tar.gz

Changes

 tests/SelfTest/IntrospectiveTests/RandomNumberGeneration.tests.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tests/SelfTest/IntrospectiveTests/RandomNumberGeneration.tests.cpp b/tests/SelfTest/IntrospectiveTests/RandomNumberGeneration.tests.cpp
index d77f7116..c35ff11e 100644
--- a/tests/SelfTest/IntrospectiveTests/RandomNumberGeneration.tests.cpp
+++ b/tests/SelfTest/IntrospectiveTests/RandomNumberGeneration.tests.cpp
@@ -179,8 +179,7 @@ TEST_CASE( "uniform_integer_distribution can handle boolean unit ranges",
     CAPTURE( seed );
     Catch::SimplePcg32 pcg( seed );
 
-    // We check unitary ranges of 3 different values, min for type, max for
-    // type, some value in between just to make sure
+    // We check unitary ranges of true/false
     SECTION( "lowest value" ) {
         Catch::uniform_integer_distribution<bool> dist( false, false );
         CheckReturnValue( dist, pcg, false );