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/07/17 15:38:26 UTC
[commons-statistics] branch master updated (4633d9b -> dafc47b)
This is an automated email from the ASF dual-hosted git repository.
aherbert pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/commons-statistics.git
from 4633d9b STATISTICS-76: Max Implementation
new 984eef3 Update assertion messages
new dafc47b Track changes.
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../org/apache/commons/statistics/descriptive/MaxTest.java | 2 +-
.../org/apache/commons/statistics/descriptive/MinTest.java | 2 +-
src/changes/changes.xml | 11 ++---------
3 files changed, 4 insertions(+), 11 deletions(-)
[commons-statistics] 01/02: Update assertion messages
Posted by ah...@apache.org.
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 984eef3fe0018f87ad483f97505bcca8c8f3f569
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Mon Jul 17 16:33:53 2023 +0100
Update assertion messages
---
.../test/java/org/apache/commons/statistics/descriptive/MaxTest.java | 2 +-
.../test/java/org/apache/commons/statistics/descriptive/MinTest.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/commons-statistics-descriptive/src/test/java/org/apache/commons/statistics/descriptive/MaxTest.java b/commons-statistics-descriptive/src/test/java/org/apache/commons/statistics/descriptive/MaxTest.java
index 0051d1d..4f1b949 100644
--- a/commons-statistics-descriptive/src/test/java/org/apache/commons/statistics/descriptive/MaxTest.java
+++ b/commons-statistics-descriptive/src/test/java/org/apache/commons/statistics/descriptive/MaxTest.java
@@ -81,7 +81,7 @@ final class MaxTest {
Arrays.stream(values).forEach(stat);
double actual = stat.getAsDouble();
Assertions.assertEquals(expected, actual, "max");
- Assertions.assertEquals(expected, Max.of(values).getAsDouble(), "max");
+ Assertions.assertEquals(expected, Max.of(values).getAsDouble(), "of(values)");
}
static Stream<Arguments> testMax() {
diff --git a/commons-statistics-descriptive/src/test/java/org/apache/commons/statistics/descriptive/MinTest.java b/commons-statistics-descriptive/src/test/java/org/apache/commons/statistics/descriptive/MinTest.java
index 680a6f6..d423039 100644
--- a/commons-statistics-descriptive/src/test/java/org/apache/commons/statistics/descriptive/MinTest.java
+++ b/commons-statistics-descriptive/src/test/java/org/apache/commons/statistics/descriptive/MinTest.java
@@ -81,7 +81,7 @@ final class MinTest {
Arrays.stream(values).forEach(stat);
double actual = stat.getAsDouble();
Assertions.assertEquals(expected, actual, "min");
- Assertions.assertEquals(expected, Min.of(values).getAsDouble(), "min");
+ Assertions.assertEquals(expected, Min.of(values).getAsDouble(), "of(values)");
}
static Stream<Arguments> testMin() {
[commons-statistics] 02/02: Track changes.
Posted by ah...@apache.org.
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 dafc47b447d508cb4afeae7fe16bde8983f67b83
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Mon Jul 17 16:38:15 2023 +0100
Track changes.
Consolidate all descriptive statistics tickets under STATISTICS-71.
---
src/changes/changes.xml | 11 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 4e15113..bd3406c 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -56,16 +56,9 @@ If the output is not quite correct, check for invisible trailing spaces!
<release version="1.1" date="TBD" description="
Adds ranking, inference, descriptive and bom modules. (requires Java 8).
">
- <action dev="aherbert" due-to="Anirudh Joshi" type="add" issue="STATISTICS-72">
- "Min": Add a minimum statistic.
- </action>
<action dev="aherbert" due-to="Anirudh Joshi" type="add" issue="STATISTICS-71">
- "DoubleStatistic/DoubleStatisticAccumulator": Add base interfaces for statistic
- implementations.
- </action>
- <action dev="aherbert" due-to="Anirudh Joshi" type="add" issue="STATISTICS-73">
- "commons-statistics-descriptive": Add new descriptive module which
- contains the implementations of all univariate statistics.
+ Add commons-statistics-descriptive module for implementations of univariate statistics.
+ Contains base interfaces for statistics and implementations for Min, Max.
</action>
<action dev="aherbert" type="add" issue="STATISTICS-69">
"UncoditionedExactTest": Add an unconditioned exact test for 2x2 contingency tables.