tts v2.3.0
The Tiny Test System
 
Loading...
Searching...
No Matches

◆ random_seed()

std::int32_t tts::random_seed ( int  base_seed = -1)
inline

Initialize the random seed for tests.

Parameters
base_seedSeed to use for random number generations. If not provided, the seed provided by the --seed command lien argument will be used. If none is provided, the seed will be computed from the current elapsed time.