]> source.dussan.org Git - poi.git/commitdiff
add test
authorPJ Fanning <fanningpj@apache.org>
Sat, 7 Aug 2021 13:24:28 +0000 (13:24 +0000)
committerPJ Fanning <fanningpj@apache.org>
Sat, 7 Aug 2021 13:24:28 +0000 (13:24 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892076 13f79535-47bb-0310-9956-ffa450edef68

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

index 0a125bd80bbacdaf06cb3330a395202125b69e3f..3cd4ab552f1c68af0438536ea6ffe3d0fa940336 100644 (file)
@@ -115,6 +115,6 @@ final class TestTimeValue {
         fe.notifyUpdateCell(cell);
         CellValue result = fe.evaluate(cell);
         assertEquals(result.getCellType(), CellType.NUMERIC);
-        assertEquals(expectedResult, result.getNumberValue());
+        assertEquals(expectedResult, result.getNumberValue(), 0.0001);
     }
 }