diff options
author | haochen <haochen@multicorewareinc.com> | 2013-10-23 10:49:01 +0800 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-10-29 17:00:04 -0400 |
commit | ab615fe2c99a79002ce78456799781305f46b8b9 (patch) | |
tree | eefff6423503c8fce7bcceacb5023b40070e4e25 | |
parent | 59793613af5a493a957f54e4f7a096166203b513 (diff) |
Testcase for PPMT
Change-Id: I28e7d1152ec533dc5200662c288840a70dc9749e
Signed-off-by: I-Jui (Ray) Sung <ray@multicorewareinc.com>
-rw-r--r-- | sc/qa/unit/opencl-test.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sc/qa/unit/opencl-test.cxx b/sc/qa/unit/opencl-test.cxx index 56a1dff79800..ff9f0a101a1a 100644 --- a/sc/qa/unit/opencl-test.cxx +++ b/sc/qa/unit/opencl-test.cxx @@ -400,6 +400,13 @@ void ScOpenclTest::testFinacialFormula() double fExcel = pDocRes->GetValue(ScAddress(3,i,18)); CPPUNIT_ASSERT_DOUBLES_EQUAL(fExcel, fLibre, fabs(0.0001*fExcel)); } + //[AMLOEXT-42] + for (SCROW i = 0; i <= 18; ++i) + { + double fLibre = pDoc->GetValue(ScAddress(3,i,19)); + double fExcel = pDocRes->GetValue(ScAddress(3,i,19)); + CPPUNIT_ASSERT_DOUBLES_EQUAL(fExcel, fLibre, fabs(0.0001*fExcel)); + } xDocSh->DoClose(); xDocShRes->DoClose(); } |