You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by fa...@apache.org on 2022/05/26 11:52:17 UTC
svn commit: r1901283 - /poi/trunk/poi/src/test/java/org/apache/poi/ss/formula/functions/TestSubtotal.java
Author: fanningpj
Date: Thu May 26 11:52:17 2022
New Revision: 1901283
URL: http://svn.apache.org/viewvc?rev=1901283&view=rev
Log:
[bug-66093] test issues
Modified:
poi/trunk/poi/src/test/java/org/apache/poi/ss/formula/functions/TestSubtotal.java
Modified: poi/trunk/poi/src/test/java/org/apache/poi/ss/formula/functions/TestSubtotal.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi/src/test/java/org/apache/poi/ss/formula/functions/TestSubtotal.java?rev=1901283&r1=1901282&r2=1901283&view=diff
==============================================================================
--- poi/trunk/poi/src/test/java/org/apache/poi/ss/formula/functions/TestSubtotal.java (original)
+++ poi/trunk/poi/src/test/java/org/apache/poi/ss/formula/functions/TestSubtotal.java Thu May 26 11:52:17 2022
@@ -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() },
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org