diff options
author | I-Jui (Ray) Sung <ray@multicorewareinc.com> | 2013-10-11 01:11:32 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-10-29 16:59:49 -0400 |
commit | e8baa9f6d0c7e5c7398e0408f89b120e2faea4bd (patch) | |
tree | 909d249520a85430a4d366db06be849caf44d199 | |
parent | ff4a2bd49b5876c8b27f5d227e961a1af6c5172b (diff) |
Testcase for nested function invocation.
Test 2 in min_max_avg_recursive_RPN_tests.xls fails.
Created a small testcase in the tab 1 of sum_ex.xls
and adjusted opencl_test.cxx accordingly.
Change-Id: I2f98a99bc4c60b2d3a7536dff84dad86b55f7845
-rw-r--r-- | sc/qa/unit/data/xls/sum_ex.xls | bin | 10240 -> 15872 bytes | |||
-rw-r--r-- | sc/qa/unit/opencl-test.cxx | 12 |
2 files changed, 10 insertions, 2 deletions
diff --git a/sc/qa/unit/data/xls/sum_ex.xls b/sc/qa/unit/data/xls/sum_ex.xls Binary files differindex cc64d1aa1549..5a8065f788dd 100644 --- a/sc/qa/unit/data/xls/sum_ex.xls +++ b/sc/qa/unit/data/xls/sum_ex.xls diff --git a/sc/qa/unit/opencl-test.cxx b/sc/qa/unit/opencl-test.cxx index 8b4081165335..29f4943c3b2b 100644 --- a/sc/qa/unit/opencl-test.cxx +++ b/sc/qa/unit/opencl-test.cxx @@ -202,8 +202,16 @@ void ScOpenclTest::testSharedFormulaXLS() // 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)); + double fLibre = pDoc->GetValue(ScAddress(5, i, 1)); + double fExcel = pDocRes->GetValue(ScAddress(5, i, 1)); + CPPUNIT_ASSERT_EQUAL(fExcel, fLibre); + } + + // AMLOEXT-15 + for (SCROW i = 5; i < 10; ++i) + { + double fLibre = pDoc->GetValue(ScAddress(6, i, 1)); + double fExcel = pDocRes->GetValue(ScAddress(6, i, 1)); CPPUNIT_ASSERT_EQUAL(fExcel, fLibre); } xDocSh->DoClose(); |