Пример #1
0
 public void Well512NextTest()
 {
     for (var repeat = 0; repeat < 10000; repeat++)
     {
         Assert.Greater(Well512RandomProvider.Next(), 0);
     }
 }
Пример #2
0
 public void Well512NextMaxTest()
 {
     for (var repeat = 0; repeat < 10000; repeat++)
     {
         Assert.LessOrEqual(Well512RandomProvider.Next(100) % 256, 100);
     }
 }
Пример #3
0
 public void Well512NextRangeTest()
 {
     for (var repeat = 0; repeat < 10000; repeat++)
     {
         var r = Well512RandomProvider.Next(10, 25) % 256;
         Assert.GreaterOrEqual(r, 10);
         Assert.Less(r, 25);
     }
 }