Additional test passes.

This commit is contained in:
Gilles Sadowski 2021-06-01 01:25:15 +02:00
parent e85e8b53f2
commit c3ec07380f
2 changed files with 12 additions and 16 deletions

View File

@ -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() {

View File

@ -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() {