From dc5451ea3e9400a43eca8404d3d07ef048a966c6 Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Thu, 30 Sep 2021 13:24:18 +0000 Subject: [PATCH] add npv tests git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893754 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/poi/ss/formula/functions/TestFinanceLib.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poi/src/test/java/org/apache/poi/ss/formula/functions/TestFinanceLib.java b/poi/src/test/java/org/apache/poi/ss/formula/functions/TestFinanceLib.java index 33bc49d9df..7028743dbf 100644 --- a/poi/src/test/java/org/apache/poi/ss/formula/functions/TestFinanceLib.java +++ b/poi/src/test/java/org/apache/poi/ss/formula/functions/TestFinanceLib.java @@ -152,7 +152,7 @@ class TestFinanceLib extends BaseTestNumeric { addRow(sheet, 7, 14500); HSSFFormulaEvaluator fe = new HSSFFormulaEvaluator(wb); HSSFCell cell = wb.getSheetAt(0).getRow(0).createCell(100); - Utils.assertDouble(fe, cell, "NPV(A2, A4:A8)+A3", 1992.061554932363); + Utils.assertDouble(fe, cell, "NPV(A2, A4:A8)+A3", 1922.061554932363); Utils.assertDouble(fe, cell, "NPV(A2, A4:A8, -9000)+A3", -3749.4650870155747); } }