Searched refs:rngSeed (Results 1 – 13 of 13) sorted by relevance
20 if( config.rngSeed() != 0 ) { in seedRng()21 std::srand( config.rngSeed() ); in seedRng()22 rng().seed( config.rngSeed() ); in seedRng()26 unsigned int rngSeed() { in rngSeed() function27 return getCurrentContext().getConfig()->rngSeed(); in rngSeed()
44 unsigned int rngSeed = 0; member102 unsigned int rngSeed() const override;
59 unsigned int Config::rngSeed() const { return m_data.rngSeed; } in rngSeed() function in Catch::Config
28 m_rand(getCurrentContext().getConfig()->rngSeed()), in RandomFloatingGenerator()50 m_rand(getCurrentContext().getConfig()->rngSeed()), in RandomIntegerGenerator()
15 unsigned int rngSeed();
19 unsigned int rngSeed();
70 return clara::detail::convertInto( seed, config.rngSeed ); in makeCommandLineParser()71 config.rngSeed = static_cast<unsigned int>( std::time(nullptr) ); in makeCommandLineParser()
73 virtual unsigned int rngSeed() const = 0;
58 if( m_config->rngSeed() != 0 ) in testRunStarting()60 .writeAttribute( "seed", m_config->rngSeed() ); in testRunStarting()
79 if( m_config->rngSeed() != 0 ) { in testRunStarting()83 .writeAttribute( "value", m_config->rngSeed() ); in testRunStarting()
470 if (m_config->rngSeed() != 0) in lazyPrintRunInfo()471 stream << "Randomness seeded to: " << m_config->rngSeed() << "\n\n"; in lazyPrintRunInfo()
96 unsigned int rngSeed();4026 virtual unsigned int rngSeed() const = 0;4051 m_rand(getCurrentContext().getConfig()->rngSeed()), in RandomFloatingGenerator()4073 m_rand(getCurrentContext().getConfig()->rngSeed()), in RandomIntegerGenerator()4671 unsigned int rngSeed = 0; member4728 unsigned int rngSeed() const override;7837 return clara::detail::convertInto( seed, config.rngSeed ); in makeCommandLineParser()7838 config.rngSeed = static_cast<unsigned int>( std::time(nullptr) ); in makeCommandLineParser()8064 unsigned int Config::rngSeed() const { return m_data.rngSeed; } in rngSeed() function in Catch::Config8810 unsigned int rngSeed();[all …]
406 unsigned int rngSeed();3398 virtual unsigned int rngSeed() const = 0;3490 rngSeed( 0 ), in ConfigData()3511 unsigned int rngSeed; member3582 virtual unsigned int rngSeed() const { return m_data.rngSeed; } in rngSeed() function in Catch::Config4654 config.rngSeed = static_cast<unsigned int>( std::time(0) ); in setRngSeed()4659 ss >> config.rngSeed; in setRngSeed()7808 if( config.rngSeed() != 0 ) in seedRng()7809 std::srand( config.rngSeed() ); in seedRng()7811 unsigned int rngSeed() { in rngSeed() function[all …]