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 2022/01/26 18:10:52 UTC

[commons-statistics] 01/02: Fix test javadoc

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 d4f5ca1f73a6040fb1d88bc122ecc02f8267704e
Author: aherbert <ah...@apache.org>
AuthorDate: Wed Jan 26 14:20:33 2022 +0000

    Fix test javadoc
---
 .../org/apache/commons/statistics/distribution/ArgumentUtilsTest.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/commons-statistics-distribution/src/test/java/org/apache/commons/statistics/distribution/ArgumentUtilsTest.java b/commons-statistics-distribution/src/test/java/org/apache/commons/statistics/distribution/ArgumentUtilsTest.java
index 05ca381..82c09f9 100644
--- a/commons-statistics-distribution/src/test/java/org/apache/commons/statistics/distribution/ArgumentUtilsTest.java
+++ b/commons-statistics-distribution/src/test/java/org/apache/commons/statistics/distribution/ArgumentUtilsTest.java
@@ -20,7 +20,7 @@ import org.junit.jupiter.api.Assertions;
 import org.junit.jupiter.api.Test;
 
 /**
- * Test for {@link RegularizedBetaUtils}.
+ * Test for {@link ArgumentUtils}.
  */
 class ArgumentUtilsTest {
     @Test
@@ -38,7 +38,7 @@ class ArgumentUtilsTest {
 
     @Test
     void testCheckProbability() {
-        // Current this allows -0.0
+        // Currently this allows -0.0
         final double[] good = {-0.0, 0.0, Double.MIN_VALUE, 1 - 0x1.0p-53, 1};
         final double[] bad = {-Double.MIN_VALUE, -0.1, -1, -2, Math.nextUp(1.0), 1.1, -Double.MAX_VALUE,
             Double.POSITIVE_INFINITY, Double.NEGATIVE_INFINITY, Double.NaN};