mirror of
https://github.com/catchorg/Catch2.git
synced 2025-10-05 03:21:17 +02:00
reseeds rng before each test case and provides access to seed through Catch::rngSeed() function
This commit is contained in:
@@ -259,6 +259,8 @@ namespace Catch {
|
||||
m_lastAssertionInfo = AssertionInfo( "TEST_CASE", testCaseInfo.lineInfo, "", ResultDisposition::Normal );
|
||||
TestCaseTracker::Guard guard( *m_testCaseTracker );
|
||||
|
||||
seedRng( *m_config );
|
||||
|
||||
Timer timer;
|
||||
timer.start();
|
||||
if( m_reporter->getPreferences().shouldRedirectStdOut ) {
|
||||
|
Reference in New Issue
Block a user