File indexing completed on 2024-05-05 03:48:24

0001 /*
0002     File                 : DifferentiationTest.h
0003     Project              : LabPlot
0004     Description          : Tests for numerical differentiation
0005     --------------------------------------------------------------------
0006     SPDX-FileCopyrightText: 2018 Stefan Gerlach <stefan.gerlach@uni.kn>
0007 
0008     SPDX-License-Identifier: GPL-2.0-or-later
0009 */
0010 #ifndef DIFFERENTIATIONTEST_H
0011 #define DIFFERENTIATIONTEST_H
0012 
0013 #include <../AnalysisTest.h>
0014 
0015 class DifferentiationTest : public AnalysisTest {
0016     Q_OBJECT
0017 
0018 private Q_SLOTS:
0019     void testLinear();
0020     void testLinearNonEquidistant();
0021     void testQuadratic();
0022     void testQuadraticNonEquidistant();
0023 
0024     // higher order
0025     void testQuadraticSecondOrder();
0026     void testCubicSecondOrder();
0027     void testCubicThirdOrder();
0028 
0029     // duplicate X
0030     void testLinearDuplicateX();
0031     //  void testPerformance();
0032 };
0033 #endif