mirror of
https://github.com/catchorg/Catch2.git
synced 2025-10-04 19:11:16 +02:00
reseeds rng before each test case and provides access to seed through Catch::rngSeed() function
This commit is contained in:
@@ -198,7 +198,7 @@ namespace Catch {
|
||||
if( m_configData.filenamesAsTags )
|
||||
applyFilenamesAsTags();
|
||||
|
||||
std::srand( m_configData.rngSeed );
|
||||
seedRng( *m_config );
|
||||
|
||||
Runner runner( m_config );
|
||||
|
||||
|
Reference in New Issue
Block a user