File indexing completed on 2024-04-28 03:48:21

0001 /*
0002 File                 : SpreadsheetGenerateDataTest.h
0003 Project              : LabPlot
0004 Description          : Tests for the generation of data in spreadsheet
0005 --------------------------------------------------------------------
0006 SPDX-FileCopyrightText: 2023 Alexander Semke <alexander.semke@web.de>
0007 
0008 SPDX-License-Identifier: GPL-2.0-or-later
0009 */
0010 
0011 #ifndef SPREADSHEETGENERATEDATATEST_H
0012 #define SPREADSHEETGENERATEDATATEST_H
0013 
0014 #include "../CommonTest.h"
0015 
0016 class SpreadsheetGenerateDataTest : public CommonTest {
0017     Q_OBJECT
0018 
0019 private Q_SLOTS:
0020     void initTestCase();
0021 
0022     // generation of equidistant values
0023 
0024     // fixed number of values
0025     void testFixedNumberDouble();
0026     void testFixedNumberInt();
0027     void testFixedNumberBigInt();
0028     void testFixedNumberDateTime();
0029     void testFixedNumberDoubleDateTime();
0030 
0031     // fixed increment between the values
0032     void testFixedIncrementDouble();
0033     void testFixedIncrementInt();
0034     void testFixedIncrementBigInt();
0035     void testFixedIncrementDateTime();
0036 
0037     // fixed number of values and increment
0038     void testFixedNumberIncrementDouble();
0039     void testFixedNumberIncrementInt();
0040     void testFixedNumberIncrementBigInt();
0041     void testFixedNumberIncrementDateTime();
0042 
0043     // column mode conversion
0044     void testFixedNumberIntToBigInt();
0045     void testFixedNumberIntToDouble();
0046     void testFixedNumberBigIntToDouble();
0047 };
0048 
0049 #endif