We wrote the following tests for the random number stream :
We also wrote two variations of this test. The first one groups the random numbers into pairs, the second one into triples. The expected values of each pair and triple are then the number of random fractions divided by 2*100 and by 3*125 (5 intervals) respectively.
with n the number of fractions and from the following sequence of probabilities : 0.03840000, 0.07680000, 0.09984000, 0.10752000, 0.10450944, 0.09547776, 0.083816 45, 0.07163904, 0.06011299, 0.04979157, 0.04086200, 0.03331007, 0.02702163, 0.02 184196, 0.01760857, 0.07144851