This script validates any pseudorandom number generator.
It evaluates a number of times uniformly distributed integers in the range [0; 1023] and sets their histogram drawings.
It then evaluates mean and standard deviation and checks for the variance to not be too large from mean for every integer in range.
An OK or failure message is printed on console, with failure explanation if any has been detected.
This script validates any pseudorandom number generator.
It evaluates a number of times uniformly distributed integers in the range [0; 1023] and sets their histogram drawings.
It then evaluates mean and standard deviation and checks for the variance to not be too large from mean for every integer in range.
An OK or failure message is printed on console, with failure explanation if any has been detected.