DescriptionAdd Random unit tests.
This adds a variety of unit tests for randomness. Most are straightforward. The gorilla test is for checking how random the individual bit places are. The suite only tests SkMWCRandom because SkRandom fails a number of them, in particular the uniform byte test, the gorilla test and the range test. Suggestions for more tests are welcome.
Patch Set 1 #Patch Set 2 : Faster normal CDF function; added assert for range check #
MessagesTotal messages: 6
|