Kaydet (Commit) 8c443f5c authored tarafından Markus Mohrhard's avatar Markus Mohrhard Kaydeden (comit) Markus Mohrhard

integrate the financial-functions test

Change-Id: I1d7ccbf4ceb3e825737a6c0af228767dc3fbce2d
üst 35f39285
...@@ -167,7 +167,7 @@ public: ...@@ -167,7 +167,7 @@ public:
std::cout << "CSVValue: " << nValue << std::endl; std::cout << "CSVValue: " << nValue << std::endl;
std::cout << "result: " << (int)(aValue == nValue) << std::endl; std::cout << "result: " << (int)(aValue == nValue) << std::endl;
#endif //DEBUG_CSV_HANDLER #endif //DEBUG_CSV_HANDLER
CPPUNIT_ASSERT_MESSAGE(createErrorMessage(mnCol, mnRow, mnTab, nValue, aValue).getStr(), aValue == nValue); CPPUNIT_ASSERT_DOUBLES_EQUAL_MESSAGE(createErrorMessage(mnCol, mnRow, mnTab, nValue, aValue).getStr(), nValue, aValue, 1e-10);
} }
} }
++mnCol; ++mnCol;
......
...@@ -402,6 +402,9 @@ void ScFiltersTest::testFunctionsODS() ...@@ -402,6 +402,9 @@ void ScFiltersTest::testFunctionsODS()
// statistical functions // statistical functions
createCSVPath(OUString("statistical-functions."), aCSVFileName); createCSVPath(OUString("statistical-functions."), aCSVFileName);
testFile(aCSVFileName, pDoc, 5); testFile(aCSVFileName, pDoc, 5);
// financial functions
createCSVPath("financial-functions.", aCSVFileName);
testFile(aCSVFileName, pDoc, 6);
xDocSh->DoClose(); xDocSh->DoClose();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment