sonible / VCTR

A powerful C++ 20 wrapper around your favorite standard library containers
https://sonible.github.io/VCTR/
Other
25 stars 1 forks source link

Make unit test random number generation more flexible and allow injecting custom seeds for compile time generated numbers #67

Open JanosGit opened 1 year ago

JanosGit commented 1 year ago

Random number vectors for the unit tests are currently created at compile time and are seeded by the __TIME__ macro. This makes it hard to reproduce failing test cases. We should find a way to report that seed in the test output and inject a custom seed via a macro