Author: fanningpj
Date: Sat May 28 14:27:29 2022
New Revision: 1901355

URL: http://svn.apache.org/viewvc?rev=1901355&view=rev
Log:
add tests

Modified:
    
poi/trunk/poi/src/test/java/org/apache/poi/ss/formula/functions/TestStdev.java
    poi/trunk/poi/src/test/java/org/apache/poi/ss/formula/functions/TestVar.java

Modified: 
poi/trunk/poi/src/test/java/org/apache/poi/ss/formula/functions/TestStdev.java
URL: 
http://svn.apache.org/viewvc/poi/trunk/poi/src/test/java/org/apache/poi/ss/formula/functions/TestStdev.java?rev=1901355&r1=1901354&r2=1901355&view=diff
==============================================================================
--- 
poi/trunk/poi/src/test/java/org/apache/poi/ss/formula/functions/TestStdev.java 
(original)
+++ 
poi/trunk/poi/src/test/java/org/apache/poi/ss/formula/functions/TestStdev.java 
Sat May 28 14:27:29 2022
@@ -73,6 +73,8 @@ public class TestStdev {
             HSSFCell cell = wb.getSheetAt(0).getRow(0).createCell(12);
             assertDouble(fe, cell, "STDEVA(A2:A7)", 4.546060565661952, 
0.00000000001);
             assertDouble(fe, cell, "STDEV(A2:A7)", 3.559026084010437, 
0.00000000001);
+            assertDouble(fe, cell, "STDEVPA(A2:A7)", 4.149966532662911, 
0.00000000001);
+            assertDouble(fe, cell, "STDEVP(A2:A7)", 3.082207001484488, 
0.00000000001);
         }
     }
 

Modified: 
poi/trunk/poi/src/test/java/org/apache/poi/ss/formula/functions/TestVar.java
URL: 
http://svn.apache.org/viewvc/poi/trunk/poi/src/test/java/org/apache/poi/ss/formula/functions/TestVar.java?rev=1901355&r1=1901354&r2=1901355&view=diff
==============================================================================
--- 
poi/trunk/poi/src/test/java/org/apache/poi/ss/formula/functions/TestVar.java 
(original)
+++ 
poi/trunk/poi/src/test/java/org/apache/poi/ss/formula/functions/TestVar.java 
Sat May 28 14:27:29 2022
@@ -72,6 +72,8 @@ public class TestVar {
             HSSFCell cell = wb.getSheetAt(0).getRow(0).createCell(12);
             assertDouble(fe, cell, "VARA(A2:A7)", 20.666666666666668, 
0.00000000001);
             assertDouble(fe, cell, "VAR(A2:A7)", 12.666666666666666, 
0.00000000001);
+            assertDouble(fe, cell, "VARPA(A2:A7)", 17.222222222222225, 
0.00000000001);
+            assertDouble(fe, cell, "VARP(A2:A7)", 9.5, 0.00000000001);
         }
     }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to