reseeds rng before each test case and provides access to seed through Catch::rngSeed() function

This commit is contained in:
Phil Nash committed 2015-07-02 23:02:35 +01:00
1 parent b971fe785b
commit d87e551efa
5 files changed
+18 -1

No files matched your search

+1 -1
View File
@@ -198,7 +198,7 @@ namespace Catch {
if( m_configData.filenamesAsTags )
applyFilenamesAsTags();
std::srand( m_configData.rngSeed );
seedRng( *m_config );
Runner runner( m_config );