@gemmeren found a few places where we could clean up PRNG in our FORM tests like this one:
|
int rand1 = rand() % 32768; |
We should search for all places we use rand() and replace them with something from the c++11 <random> header to improve readability and maintainability.
@gemmeren found a few places where we could clean up PRNG in our FORM tests like this one:
phlex/test/form/writer.cpp
Line 25 in 93334dd
We should search for all places we use
rand()and replace them with something from the c++11<random>header to improve readability and maintainability.