summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2023-05-17 13:36:26 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2023-05-17 22:38:08 +0200
commit7723e3f627175a09c074fd8bcb38ebbaa4867874 (patch)
treee425694cb9b214629fe218f6bf994decf6cd427f
parenta28c31198d747e4abc020eb274b795c6207d3033 (diff)
CppunitTest_sc_opencl-1: remove commented out tests
These were commented out in 9247a100e3aa0c1ebd81254683eef2311a516a17 "The test documents for these tests are not available." Change-Id: Icbaf29de91c7828efbca3c8e55a123b44591d308 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151877 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
-rw-r--r--sc/qa/unit/opencl-test-1.cxx49
1 files changed, 0 insertions, 49 deletions
diff --git a/sc/qa/unit/opencl-test-1.cxx b/sc/qa/unit/opencl-test-1.cxx
index 3352ab3e4ad6..0be7b1d8c1e2 100644
--- a/sc/qa/unit/opencl-test-1.cxx
+++ b/sc/qa/unit/opencl-test-1.cxx
@@ -23,10 +23,6 @@ public:
void testSystematic();
void testSharedFormulaXLS();
-#if 0
- void testSharedFormulaXLSGroundWater();
- void testSharedFormulaXLSStockHistory();
-#endif
void testFinacialFormula();
void testStatisticalFormulaFisher();
void testStatisticalFormulaFisherInv();
@@ -356,51 +352,6 @@ void ScOpenCLTest1::testCompilerPrecision()
}
}
-#if 0
-void ScOpenCLTest1::testSharedFormulaXLSStockHistory()
-{
- initTestEnv(u"xls/stock-history.xls");
- ScDocument* pDoc = getScDoc();
- ScDocument* pDocRes = getScDoc2();
- ScDocShell* pDocSh = getScDocShell();
- pDocSh->DoHardRecalc();
-
- // Check the results of formula cells in the shared formula range.
- for (SCROW i = 33; i < 44; ++i)
- { // Cell H34:H44 in S&P 500 (tab 1)
- double fLibre = pDoc->GetValue(ScAddress(7, i, 1));
- double fExcel = pDocRes->GetValue(ScAddress(7, i, 1));
- CPPUNIT_ASSERT_DOUBLES_EQUAL(fExcel, fLibre, 0.0001*fExcel);
- }
-
- for (SCROW i = 33; i < 44; ++i)
- { // Cell J34:J44 in S&P 500 (tab 1)
- double fLibre = pDoc->GetValue(ScAddress(9, i, 1));
- double fExcel = pDocRes->GetValue(ScAddress(9, i, 1));
- CPPUNIT_ASSERT_DOUBLES_EQUAL(fExcel, fLibre, 0.0001*fExcel);
- }
-}
-
-void ScOpenCLTest1::testSharedFormulaXLSGroundWater()
-{
- initTestEnv(u"xls/ground-water-daily.xls");
- ScDocument* pDoc = getScDoc();
- ScDocument* pDocRes = getScDoc2();
- ScDocShell* pDocSh = getScDocShell();
- pDocSh->DoHardRecalc();
-
- // Check the results of formula cells in the shared formula range.
- for (SCROW i = 5; i <= 77; ++i)
- {
- double fLibre = pDoc->GetValue(ScAddress(11,i,1));
- double fExcel = pDocRes->GetValue(ScAddress(11,i,1));
- ASSERT_DOUBLES_EQUAL(fExcel, fLibre);
- }
-
-
-}
-#endif
-
void ScOpenCLTest1::testSystematic()
{
initTestEnv(u"xls/systematic.xls");