summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorI-Jui (Ray) Sung <ray@multicorewareinc.com>2013-10-10 17:47:35 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2013-10-29 16:59:49 -0400
commitf798eb5b36c1e4abbb4c7a4a32c36331d082c6b8 (patch)
tree9c7e79322c641de57f8121676a65448673eaaab4
parentd03a2738e6ff893ddd287388cc7dc8b86318d214 (diff)
Need support of nested function invocation
Test 1 in min_max_avg_recursive_RPN_tests.xls fails. Extracted to the second tab in sum_ex.xls Change-Id: If87b2edce9bb383d67b56bfcb5c723c57c98e641
-rw-r--r--sc/qa/unit/data/xls/sum_ex.xlsbin22016 -> 10240 bytes
-rw-r--r--sc/qa/unit/opencl-test.cxx8
2 files changed, 8 insertions, 0 deletions
diff --git a/sc/qa/unit/data/xls/sum_ex.xls b/sc/qa/unit/data/xls/sum_ex.xls
index 3ac18ba78d2c..cc64d1aa1549 100644
--- a/sc/qa/unit/data/xls/sum_ex.xls
+++ b/sc/qa/unit/data/xls/sum_ex.xls
Binary files differ
diff --git a/sc/qa/unit/opencl-test.cxx b/sc/qa/unit/opencl-test.cxx
index db0ff701e7b4..8b4081165335 100644
--- a/sc/qa/unit/opencl-test.cxx
+++ b/sc/qa/unit/opencl-test.cxx
@@ -190,6 +190,7 @@ void ScOpenclTest::testSharedFormulaXLS()
// AMLOEXT-11; workaround for a Calc beta bug
CPPUNIT_ASSERT_EQUAL(25.0, pDoc->GetValue(ScAddress(2, 35, 0)));
CPPUNIT_ASSERT_EQUAL(24.0, pDoc->GetValue(ScAddress(2, 36, 0)));
+
// AMLOEXT-12
for (SCROW i = 38; i < 43; ++i)
{
@@ -198,6 +199,13 @@ void ScOpenclTest::testSharedFormulaXLS()
CPPUNIT_ASSERT_EQUAL(fExcel, fLibre);
}
+ // AMLOEXT-14
+ for (SCROW i = 5; i < 10; ++i)
+ {
+ double fLibre = pDoc->GetValue(ScAddress(2, i, 1));
+ double fExcel = pDocRes->GetValue(ScAddress(2, i, 1));
+ CPPUNIT_ASSERT_EQUAL(fExcel, fLibre);
+ }
xDocSh->DoClose();
xDocShRes->DoClose();
}