diff options
Diffstat (limited to 'tests/com/jsyn/util')
-rw-r--r-- | tests/com/jsyn/util/TestPseudoRandom.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/com/jsyn/util/TestPseudoRandom.java b/tests/com/jsyn/util/TestPseudoRandom.java index 0ef2fa3..20df465 100644 --- a/tests/com/jsyn/util/TestPseudoRandom.java +++ b/tests/com/jsyn/util/TestPseudoRandom.java @@ -47,7 +47,7 @@ public class TestPseudoRandom extends TestCase { } public void testIntegerDistribution() { - int scaler = 10; + int scaler = 100; for (int i = 0; i < (bins.length * scaler); i++) { int rand = pseudoRandom.nextRandomInteger(); int positiveInt = rand & 0x7FFFFFFF; @@ -59,7 +59,7 @@ public class TestPseudoRandom extends TestCase { } public void test01Distribution() { - int scaler = 10; + int scaler = 100; for (int i = 0; i < (bins.length * scaler); i++) { double rand = pseudoRandom.random(); assertTrue("not too low, #" + i + " = " + rand, (rand >= 0.0)); |