void checkNextDouble() { Printf("Check next double random number+++++++++++++++++++++++++++\n"); RNG rnd; for (int i = 0; i < 1000; i++) { double d = rnd.nextDouble(); Assert(d < 1 && d >= 0, "Random value if out of scope: %f", d); Printf("%f\n", d); } }