summaryrefslogtreecommitdiff
path: root/sc/qa
diff options
context:
space:
mode:
authorWinfried Donkers <winfrieddonkers@libreoffice.org>2014-02-02 12:37:39 +0100
committerEike Rathke <erack@redhat.com>2014-03-05 05:53:24 -0600
commite4def6edaa4686e50bbfd4490a4b9ddb928397a4 (patch)
tree37ca27719617cabc366356d2e4336a2453e09bcb /sc/qa
parentc1d9f1ff1868ecd8fa21028c53c5dd357701affe (diff)
fdo#72197 Add Excel 2010 functions
MODE.SNGL, MODE.MULT, NEGBINOM.DIST, Z.TEST Change-Id: I55eb05e1ebdb9dbc3ce9ae84e3cdacfdfa112091 Reviewed-on: https://gerrit.libreoffice.org/7776 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc/qa')
-rw-r--r--sc/qa/unit/subsequent_filters-test.cxx10
-rw-r--r--sc/qa/unit/ucalc.cxx4
2 files changed, 9 insertions, 5 deletions
diff --git a/sc/qa/unit/subsequent_filters-test.cxx b/sc/qa/unit/subsequent_filters-test.cxx
index 636b864108e9..4a005df27f30 100644
--- a/sc/qa/unit/subsequent_filters-test.cxx
+++ b/sc/qa/unit/subsequent_filters-test.cxx
@@ -459,10 +459,10 @@ void ScFiltersTest::testFunctionsExcel2010()
{ 36, true },
{ 37, true },
{ 38, true },
- { 39, false },
- { 40, false },
- { 41, false },
- { 42, false },
+ { 39, true },
+ { 40, true },
+ { 41, true },
+ { 42, true },
{ 43, false },
{ 44, true },
{ 45, true },
@@ -493,7 +493,7 @@ void ScFiltersTest::testFunctionsExcel2010()
{ 70, true },
{ 71, true },
{ 72, false },
- { 73, false }
+ { 73, true }
};
for (size_t i=0; i < SAL_N_ELEMENTS(aTests); ++i)
diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx
index d5d705500cda..bf691c689d27 100644
--- a/sc/qa/unit/ucalc.cxx
+++ b/sc/qa/unit/ucalc.cxx
@@ -2607,6 +2607,9 @@ void Test::testFunctionLists()
"MIN",
"MINA",
"MODE",
+ "MODE.MULT",
+ "MODE.SNGL",
+ "NEGBINOM.DIST",
"NEGBINOMDIST",
"NORM.DIST",
"NORM.INV",
@@ -2666,6 +2669,7 @@ void Test::testFunctionLists()
"VARPA",
"WEIBULL",
"WEIBULL.DIST",
+ "Z.TEST",
"ZTEST",
0
};