You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2023/10/06 12:11:50 UTC
[commons-statistics] 04/04: Reduce test tolerance due to sporadic failure on random order values
This is an automated email from the ASF dual-hosted git repository.
aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-statistics.git
commit dcd80fb387df0e4af65ab64a8ffb58860aaafaf8
Author: aherbert <ah...@apache.org>
AuthorDate: Fri Oct 6 13:04:20 2023 +0100
Reduce test tolerance due to sporadic failure on random order values
---
.../java/org/apache/commons/statistics/descriptive/KurtosisTest.java | 2 +-
.../java/org/apache/commons/statistics/descriptive/VarianceTest.java | 5 +----
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/commons-statistics-descriptive/src/test/java/org/apache/commons/statistics/descriptive/KurtosisTest.java b/commons-statistics-descriptive/src/test/java/org/apache/commons/statistics/descriptive/KurtosisTest.java
index 63a0799..c5e7d62 100644
--- a/commons-statistics-descriptive/src/test/java/org/apache/commons/statistics/descriptive/KurtosisTest.java
+++ b/commons-statistics-descriptive/src/test/java/org/apache/commons/statistics/descriptive/KurtosisTest.java
@@ -32,7 +32,7 @@ import org.junit.jupiter.params.provider.MethodSource;
final class KurtosisTest {
private static final int ULP_ARRAY = 30;
private static final int ULP_STREAM = 30;
- private static final int ULP_COMBINE_ACCEPT = 60;
+ private static final int ULP_COMBINE_ACCEPT = 70;
private static final int ULP_COMBINE_OF = 30;
@Test
diff --git a/commons-statistics-descriptive/src/test/java/org/apache/commons/statistics/descriptive/VarianceTest.java b/commons-statistics-descriptive/src/test/java/org/apache/commons/statistics/descriptive/VarianceTest.java
index a145a07..1889409 100644
--- a/commons-statistics-descriptive/src/test/java/org/apache/commons/statistics/descriptive/VarianceTest.java
+++ b/commons-statistics-descriptive/src/test/java/org/apache/commons/statistics/descriptive/VarianceTest.java
@@ -30,11 +30,8 @@ import org.junit.jupiter.params.provider.MethodSource;
*/
final class VarianceTest {
private static final int ULP_ARRAY = 4;
-
private static final int ULP_STREAM = 8;
-
- private static final int ULP_COMBINE_ACCEPT = 8;
-
+ private static final int ULP_COMBINE_ACCEPT = 10;
private static final int ULP_COMBINE_OF = 2;
@Test