]> source.dussan.org Git - poi.git/commitdiff
[bug-66093] test issues
authorPJ Fanning <fanningpj@apache.org>
Thu, 26 May 2022 11:52:17 +0000 (11:52 +0000)
committerPJ Fanning <fanningpj@apache.org>
Thu, 26 May 2022 11:52:17 +0000 (11:52 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1901283 13f79535-47bb-0310-9956-ffa450edef68

poi/src/test/java/org/apache/poi/ss/formula/functions/TestSubtotal.java

index 020b61d537dacee3052468b81b5bc847f4168849..3d4bd2264e25052799611646c1a5f13835e439d3 100644 (file)
@@ -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() },