Example #1
0
        public void Becnhmark_NextDouble()
        {
            Random     r    = new System.Random();
            TestRandom test = new TestRandom(r, _outDir);

            test.BenchmarkNextDouble(20 * 1000000);
        }
        public void Becnhmark_NextDouble()
        {
            Random     r    = new MersenneTwister();
            TestRandom test = new TestRandom(r, _outDir);

            test.BenchmarkNextDouble(20 * 1000000);
        }
Example #3
0
        public void Test_Diehard()
        {
            Random     r    = new System.Random();
            TestRandom test = new TestRandom(r, _outDir);

            test.CreateFileForDiehard(12 * 1000000);
        }
        public void Test_Diehard()
        {
            Random     r    = new MersenneTwister();
            TestRandom test = new TestRandom(r, _outDir);

            test.CreateFileForDiehard(12 * 1000000);
        }