Introduce Catch's own RNG based on the PCG family of RNGs

In the future, we will also want to introduce our own
`uniform_int_distribution` and `uniform_real_distribution` to get
repeatable test runs across different platforms.
This commit is contained in:
Martin Hořeňovský committed 2019-10-07 19:56:23 +02:00
1 parent 319cb9e1da
commit 535da5c513
14 files changed
+565 -23

No files matched your search

+2
View File
@@ -151,6 +151,8 @@ namespace Catch {
bool m_includeSuccessfulResults;
};
void seedRng(IConfig const& config);
unsigned int rngSeed();
} // end namespace Catch
#endif // TWOBLUECUBES_CATCH_RUNNER_IMPL_HPP_INCLUDED