File indexing completed on 2024-09-08 06:35:22
0001 /* 0002 File : SpreadsheetFormulaTest.h 0003 Project : LabPlot 0004 Description : Tests for formula in spreadsheet 0005 -------------------------------------------------------------------- 0006 SPDX-FileCopyrightText: 2022 Stefan Gerlach <stefan.gerlach@uni.kn> 0007 0008 SPDX-License-Identifier: GPL-2.0-or-later 0009 */ 0010 0011 #ifndef SPREADSHEETFORMULATEST_H 0012 #define SPREADSHEETFORMULATEST_H 0013 0014 #include "../CommonTest.h" 0015 0016 class SpreadsheetFormulaTest : public CommonTest { 0017 Q_OBJECT 0018 0019 private Q_SLOTS: 0020 void formula1(); 0021 void formulax(); 0022 void formulaxp1(); 0023 0024 void formulaCell1(); 0025 void formulaCelli(); 0026 void formulaCellip1(); 0027 void formulaCellim1(); 0028 void formulaCell2i(); 0029 void formulaCellip1im1(); 0030 void formulaCellsqrtip1(); 0031 0032 void formulaCell1_2x(); 0033 void formulaCelli_2x(); 0034 void formulaCelli_xpx(); 0035 void formulaCelli_xp2x(); 0036 void formulaCelli_sqrtx(); 0037 void formulaCelli_xpy(); 0038 0039 void formulaCell2i_xpy(); 0040 void formulaCelli_2xpCelli_2y(); 0041 0042 void formulaLocale(); 0043 0044 // moving statistics 0045 void formulama(); 0046 void formulamr(); 0047 void formulasma(); 0048 void formulasmr(); 0049 0050 // check updates of columns defined via a formula on changes 0051 void formulaUpdateAfterCellChange(); 0052 void formulaUpdateAfterPaste(); 0053 }; 0054 0055 #endif