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 <[email protected]>
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() {

Reply via email to