diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-10-08 23:30:09 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-10-09 00:04:30 +0200 |
commit | bb549e2d50e548c2deda3af77ac444a4dde35700 (patch) | |
tree | c2641b32105d46464a4192ee986faae0e70e9da8 /sc/qa/unit | |
parent | c85b929b532c56c061df4fcfe32734d5db3bd5b8 (diff) |
add unit test cases for mathematical functions
Diffstat (limited to 'sc/qa/unit')
-rw-r--r-- | sc/qa/unit/data/contentCSV/mathematical-functions.csv | 4 | ||||
-rw-r--r-- | sc/qa/unit/data/ods/functions.ods | bin | 9523 -> 9761 bytes | |||
-rw-r--r-- | sc/qa/unit/filters-test.cxx | 3 |
3 files changed, 7 insertions, 0 deletions
diff --git a/sc/qa/unit/data/contentCSV/mathematical-functions.csv b/sc/qa/unit/data/contentCSV/mathematical-functions.csv new file mode 100644 index 000000000000..106e5705bad6 --- /dev/null +++ b/sc/qa/unit/data/contentCSV/mathematical-functions.csv @@ -0,0 +1,4 @@ +0, 1, 10 +1.5707963268, 0, 3.1415926536 +0, Err:502 +1.5707963268, 2.3561944902, 0.7853981634 diff --git a/sc/qa/unit/data/ods/functions.ods b/sc/qa/unit/data/ods/functions.ods Binary files differindex 10ddceac5330..4c098247f0ee 100644 --- a/sc/qa/unit/data/ods/functions.ods +++ b/sc/qa/unit/data/ods/functions.ods diff --git a/sc/qa/unit/filters-test.cxx b/sc/qa/unit/filters-test.cxx index 525a917634eb..38eb9401a63d 100644 --- a/sc/qa/unit/filters-test.cxx +++ b/sc/qa/unit/filters-test.cxx @@ -394,6 +394,9 @@ void ScFiltersTest::testFunctions() //test spreadsheet functions createCSVPath(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("spreadsheet-functions.")), aCSVFileName); testFile(aCSVFileName, pDoc, 1); + //test mathematical functions + createCSVPath(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("mathematical-functions.")), aCSVFileName); + testFile(aCSVFileName, pDoc, 2, PureString); xDocSh->DoClose(); } |