diff options
author | PJ Fanning <fanningpj@apache.org> | 2021-09-30 09:44:37 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2021-09-30 09:44:37 +0000 |
commit | 2bf5cd505b620baebb85a41f934cb90c60ed5fd8 (patch) | |
tree | 1322a9b148326e275e69dc4ad951577a3bbfbe57 /poi | |
parent | 37c63d928d52930c642c774ed4c8c5a8a43d252b (diff) | |
download | poi-2bf5cd505b620baebb85a41f934cb90c60ed5fd8.tar.gz poi-2bf5cd505b620baebb85a41f934cb90c60ed5fd8.zip |
add npv tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893750 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi')
-rw-r--r-- | poi/src/test/java/org/apache/poi/ss/formula/functions/TestFinanceLib.java | 3 |
1 files changed, 1 insertions, 2 deletions
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 565e9ff0e8..33bc49d9df 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 @@ -153,8 +153,7 @@ class TestFinanceLib extends BaseTestNumeric { 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); - //TODO this scenario does not work - //Utils.assertDouble(fe, cell, "NPV(A2, A4:A8, -9000)+A3", -3749.47); + Utils.assertDouble(fe, cell, "NPV(A2, A4:A8, -9000)+A3", -3749.4650870155747); } } |