commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject [11/24] commons-rng git commit: Changed sample size (unit test).
Date Sat, 12 Nov 2016 19:53:23 GMT
Changed sample size (unit test).

Previous value made "testEmptyIntArraySeed" fail for "MWC_256".


Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/53eb1180
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/53eb1180
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/53eb1180

Branch: refs/heads/RNG-30__sampling
Commit: 53eb118018135f493773e85145b0e82b4708ab5e
Parents: 28502fc
Author: Gilles <erans@apache.org>
Authored: Fri Nov 11 17:09:48 2016 +0100
Committer: Gilles <erans@apache.org>
Committed: Fri Nov 11 17:09:48 2016 +0100

----------------------------------------------------------------------
 .../apache/commons/rng/simple/ProvidersCommonParametricTest.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-rng/blob/53eb1180/commons-rng-simple/src/test/java/org/apache/commons/rng/simple/ProvidersCommonParametricTest.java
----------------------------------------------------------------------
diff --git a/commons-rng-simple/src/test/java/org/apache/commons/rng/simple/ProvidersCommonParametricTest.java
b/commons-rng-simple/src/test/java/org/apache/commons/rng/simple/ProvidersCommonParametricTest.java
index 6d9d668..c002392 100644
--- a/commons-rng-simple/src/test/java/org/apache/commons/rng/simple/ProvidersCommonParametricTest.java
+++ b/commons-rng-simple/src/test/java/org/apache/commons/rng/simple/ProvidersCommonParametricTest.java
@@ -116,7 +116,7 @@ public class ProvidersCommonParametricTest {
 
         // Exercise the default seeding procedure.
         final UniformRandomProvider rng = RandomSource.create(originalSource, empty, originalArgs);
-        checkNextIntegerInRange(rng, 10, 10000);
+        checkNextIntegerInRange(rng, 10, 20000);
     }
 
     @Test


Mime
View raw message