From af42b80eba8a6173ade6739b492752d3ad443d8e Mon Sep 17 00:00:00 2001 From: Adrien Crivelli Date: Sun, 7 Aug 2016 20:54:30 +0900 Subject: [PATCH] Fix unit tests for ACCRINT() function The expected value were incorrect according to LibreOffice 5 and Google Spreadsheet. --- unitTests/rawTestData/Calculation/Financial/ACCRINT.data | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unitTests/rawTestData/Calculation/Financial/ACCRINT.data b/unitTests/rawTestData/Calculation/Financial/ACCRINT.data index 351fe27e..94e1ed04 100644 --- a/unitTests/rawTestData/Calculation/Financial/ACCRINT.data +++ b/unitTests/rawTestData/Calculation/Financial/ACCRINT.data @@ -1,7 +1,7 @@ #Issue date 1st Interest Settlement Rate Par Freq Basis Result "2008-03-01", "2008-08-31", "2008-05-01", 0.10, 1000, 2, 0, 16.666666666667 "2008-03-05", "2008-08-31", "2008-05-01", 0.10, 1000, 2, 0, 15.555555555556 -"2010-01-01", "2010-06-30", "2010-04-01", 0.08, 10000, 4, 202.222222222222 +"2010-01-01", "2010-06-30", "2010-04-01", 0.08, 10000, 4, 200 "2008-03-05", "2008-08-31", "2008-05-01", -0.10, 1000, 2, 0, "#NUM!" "Invalid Date", "2008-08-31", "2008-05-01", 0.10, 1000, 2, 0, "#VALUE!" "2008-03-01", "2008-08-31", "2008-05-01", "ABC", 1000, 2, 0, "#VALUE!"