sc/qa/unit/opencl-test-1.cxx |   49 -------------------------------------------
 1 file changed, 49 deletions(-)

New commits:
commit 7723e3f627175a09c074fd8bcb38ebbaa4867874
Author:     Xisco Fauli <xiscofa...@libreoffice.org>
AuthorDate: Wed May 17 13:36:26 2023 +0200
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Wed May 17 22:38:08 2023 +0200

    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 <xiscofa...@libreoffice.org>

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");

Reply via email to