From: PJ Fanning Date: Sat, 7 Aug 2021 13:24:28 +0000 (+0000) Subject: add test X-Git-Tag: REL_5_1_0~71 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5ded0c8212d49acb439c8b4edf9561ecffcf83b3;p=poi.git add test git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892076 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/poi/src/test/java/org/apache/poi/ss/formula/functions/TestTimeValue.java b/poi/src/test/java/org/apache/poi/ss/formula/functions/TestTimeValue.java index 0a125bd80b..3cd4ab552f 100644 --- a/poi/src/test/java/org/apache/poi/ss/formula/functions/TestTimeValue.java +++ b/poi/src/test/java/org/apache/poi/ss/formula/functions/TestTimeValue.java @@ -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); } }