Verify distribution uniformity/Naive: Difference between revisions

Allowing a generator object as well as a generator function so languages without first-class functions aren't omitted
m (CL cleanup)
(Allowing a generator object as well as a generator function so languages without first-class functions aren't omitted)
Line 5:
 
The function should take as arguments:
* The function (or object) producing random integers.
* The number of times to call the integer generator.
* A 'delta' value of some sort that indicates how close to a flat distribution is close enough.
Anonymous user