Thanks for doing that.
You might could get by with stubbing out a hash of the n values...
If I could just store one srand seed per OS, and the rand function would generate the same sequence from that point on that might work. But even if it is the same generator and just platform specific seeding, finding which seed caused the sequence I need on each platform would be a labour of love ;)
As it it, I'll just generate a big batch of random tests recording the rands used to generate them and then pick the best/most difficult etc. and embed the sequences into the testcases.
In reply to Re^6: rand and srand across builds and platforms?
by BrowserUk
in thread rand and srand across builds and platforms?
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |