[prev in list] [next in list] [prev in thread] [next in thread]
List: jakarta-commons-dev
Subject: [commons-math] 01/02: Additional test passes.
From: erans () apache ! org
Date: 2021-05-31 23:41:32
Message-ID: 20210531234131.B308581A7C () gitbox ! apache ! org
[Download RAW message or body]
This is an automated email from the ASF dual-hosted git repository.
erans pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-math.git
commit c3ec07380f82c868dd015cf83f3ee2575c6fcd51
Author: Gilles Sadowski <gilleseran@gmail.com>
AuthorDate: Tue Jun 1 01:25:15 2021 +0200
Additional test passes.
---
.../legacy/core/ExtendedFieldElementAbstractTest.java | 14 ++++++--------
.../legacy/field/ExtendedFieldElementAbstractTest.java | 14 ++++++--------
2 files changed, 12 insertions(+), 16 deletions(-)
diff --git a/commons-math-legacy-core/src/test/java/org/apache/commons/math4/legacy/core/ExtendedFieldElementAbstractTest.java \
b/commons-math-legacy-core/src/test/java/org/apache/commons/math4/legacy/core/ExtendedFieldElementAbstractTest.java
index 7f5087c..ec34fcb 100644
--- a/commons-math-legacy-core/src/test/java/org/apache/commons/math4/legacy/core/ExtendedFieldElementAbstractTest.java
+++ b/commons-math-legacy-core/src/test/java/org/apache/commons/math4/legacy/core/ExtendedFieldElementAbstractTest.java
@@ -313,14 +313,12 @@ public abstract class ExtendedFieldElementAbstractTest<T \
extends RealFieldElemen }
}
-// TODO: add this test in 4.0, as it is not possible to do it in 3.2
-// due to incompatibility of the return type in the Dfp class
-// @Test
-// public void testLog10() {
-// for (double x = -0.9; x < 0.9; x += 0.05) {
-// checkRelative(AccurateMath.log10(x), build(x).log10());
-// }
-// }
+ @Test
+ public void testLog10() {
+ for (double x = -0.9; x < 0.9; x += 0.05) {
+ checkRelative(AccurateMath.log10(x), build(x).log10());
+ }
+ }
@Test
public void testAbs() {
diff --git a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/field/ExtendedFieldElementAbstractTest.java \
b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/field/ExtendedFieldElementAbstractTest.java
index a1b2670..81a1e60 100644
--- a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/field/ExtendedFieldElementAbstractTest.java
+++ b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/field/ExtendedFieldElementAbstractTest.java
@@ -315,14 +315,12 @@ public abstract class ExtendedFieldElementAbstractTest<T \
extends RealFieldElemen }
}
-// TODO: add this test in 4.0, as it is not possible to do it in 3.2
-// due to incompatibility of the return type in the Dfp class
-// @Test
-// public void testLog10() {
-// for (double x = -0.9; x < 0.9; x += 0.05) {
-// checkRelative(AccurateMath.log10(x), build(x).log10());
-// }
-// }
+ @Test
+ public void testLog10() {
+ for (double x = -0.9; x < 0.9; x += 0.05) {
+ checkRelative(AccurateMath.log10(x), build(x).log10());
+ }
+ }
@Test
public void testAbs() {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic