You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by er...@apache.org on 2016/05/17 17:06:12 UTC

[math] MATH-1365

Repository: commons-math
Updated Branches:
  refs/heads/develop daf0c68d5 -> a8c6d43b5


MATH-1365

Adapt unit test to the changed signature of the constructor.


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

Branch: refs/heads/develop
Commit: a8c6d43b5a61d8da784f0ac188d40b88a15dad50
Parents: daf0c68
Author: Gilles <er...@apache.org>
Authored: Tue May 17 19:04:39 2016 +0200
Committer: Gilles <er...@apache.org>
Committed: Tue May 17 19:04:39 2016 +0200

----------------------------------------------------------------------
 .../commons/math4/stat/descriptive/rank/PercentileTest.java      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-math/blob/a8c6d43b/src/test/java/org/apache/commons/math4/stat/descriptive/rank/PercentileTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/math4/stat/descriptive/rank/PercentileTest.java b/src/test/java/org/apache/commons/math4/stat/descriptive/rank/PercentileTest.java
index ffac6cc..29b901c 100644
--- a/src/test/java/org/apache/commons/math4/stat/descriptive/rank/PercentileTest.java
+++ b/src/test/java/org/apache/commons/math4/stat/descriptive/rank/PercentileTest.java
@@ -316,7 +316,7 @@ public class PercentileTest extends UnivariateStatisticAbstractTest{
 
     @Test
     public void testAllTechniquesPercentileUsingRandomPivoting() {
-        kthSelector = new KthSelector(new RandomPivotingStrategy(RandomSource.create(RandomSource.WELL_1024_A, 0x268a7fb4194240f6l)));
+        kthSelector = new KthSelector(new RandomPivotingStrategy(RandomSource.WELL_1024_A, 0x268a7fb4194240f6l));
         Assert.assertEquals(RandomPivotingStrategy.class,
                             getUnivariateStatistic().getPivotingStrategy().getClass());
         checkAllTechniquesPercentile();
@@ -695,7 +695,7 @@ public class PercentileTest extends UnivariateStatisticAbstractTest{
         for (final PivotingStrategyInterface strategy : new PivotingStrategyInterface[] {
             new MedianOf3PivotingStrategy(),
             new CentralPivotingStrategy(),
-            new RandomPivotingStrategy(RandomSource.create(RandomSource.WELL_1024_A, 0xf097c734e4740053l))
+            new RandomPivotingStrategy(RandomSource.WELL_1024_A, 0xf097c734e4740053l)
         }) {
             kthSelector = new KthSelector(strategy);
             testAllEstimationTechniquesOnly();