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-numbers.git
commit 6490f24bdb74c18c5df072f6eac9571c9d04e284 Author: Alex Herbert <aherb...@apache.org> AuthorDate: Tue Mar 25 15:16:42 2025 +0000 Remove unused method --- .../org/apache/commons/numbers/gamma/BoostBetaTest.java | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/commons-numbers-gamma/src/test/java/org/apache/commons/numbers/gamma/BoostBetaTest.java b/commons-numbers-gamma/src/test/java/org/apache/commons/numbers/gamma/BoostBetaTest.java index d1129a1f..11c11945 100644 --- a/commons-numbers-gamma/src/test/java/org/apache/commons/numbers/gamma/BoostBetaTest.java +++ b/commons-numbers-gamma/src/test/java/org/apache/commons/numbers/gamma/BoostBetaTest.java @@ -1117,20 +1117,6 @@ class BoostBetaTest { TestUtils.assertEquals(expected, actual, tolerance, null, () -> x + ", " + y); } - /** - * Assert the function is close to the expected value. - * - * @param fun Function - * @param x Input value - * @param y Input value - * @param expected Expected value - * @param eps Relative tolerance - */ - private static void assertWithinEps(DoubleBinaryOperator fun, double x, double y, double expected, double eps) { - final double actual = fun.applyAsDouble(x, y); - Assertions.assertEquals(expected, actual, Math.abs(expected) * eps, () -> x + ", " + y); - } - /** * Assert the function is close to the expected value. *