From: PJ Fanning Date: Thu, 26 May 2022 11:52:17 +0000 (+0000) Subject: [bug-66093] test issues X-Git-Tag: REL_5_2_3~285 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d173a26101c5ff75674ced7e0262fdffab3a909c;p=poi.git [bug-66093] test issues git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1901283 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/poi/src/test/java/org/apache/poi/ss/formula/functions/TestSubtotal.java b/poi/src/test/java/org/apache/poi/ss/formula/functions/TestSubtotal.java index 020b61d537..3d4bd2264e 100644 --- a/poi/src/test/java/org/apache/poi/ss/formula/functions/TestSubtotal.java +++ b/poi/src/test/java/org/apache/poi/ss/formula/functions/TestSubtotal.java @@ -315,10 +315,10 @@ final class TestSubtotal { fe.evaluateAll(); - assertEquals(1.41421, a3.getNumericCellValue(), 0.0001); - assertEquals(7.65685, a6.getNumericCellValue(), 0.0001); - assertEquals(2.82842, a7.getNumericCellValue(), 0.0001); - assertEquals(2.82842, a8.getNumericCellValue(), 0.0001); + assertEquals(1.41421, a3.getNumericCellValue(), 0.00001); + assertEquals(7.65685, a6.getNumericCellValue(), 0.00001); + assertEquals(2.82842, a7.getNumericCellValue(), 0.00001); + assertEquals(2.82842, a8.getNumericCellValue(), 0.00001); wb.close(); } @@ -399,9 +399,6 @@ final class TestSubtotal { // formula, throws NotImplemnted? String[][] formulas = { - { "SUBTOTAL(8,B2:B3)", NotImplementedException.class.getName() }, - { "SUBTOTAL(10,B2:B3)", NotImplementedException.class.getName() }, - { "SUBTOTAL(11,B2:B3)", NotImplementedException.class.getName() }, { "SUBTOTAL(0,B2:B3)", null }, { "SUBTOTAL(9)", FormulaParseException.class.getName() }, { "SUBTOTAL()", FormulaParseException.class.getName() },