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

0001 /*
0002     File                 : NSLIntTest.h
0003     Project              : LabPlot
0004     Description          : NSL Tests for numerical integration
0005     --------------------------------------------------------------------
0006     SPDX-FileCopyrightText: 2019 Stefan Gerlach <stefan.gerlach@uni.kn>
0007 
0008     SPDX-License-Identifier: GPL-2.0-or-later
0009 */
0010 #ifndef NSLINTTEST_H
0011 #define NSLINTTEST_H
0012 
0013 #include "../NSLTest.h"
0014 
0015 class NSLIntTest : public NSLTest {
0016     Q_OBJECT
0017 
0018 private Q_SLOTS:
0019     // rules integral/area
0020     void testRectangle_integral();
0021     void testRectangle_area();
0022     void testTrapezoid_integral();
0023     void testTrapezoid_area();
0024     void test3Point_integral();
0025     void test4Point_integral();
0026     // performance
0027     void testPerformanceRectangle();
0028     void testPerformanceTrapezoid();
0029     void testPerformance3Point();
0030     void testPerformance4Point();
0031 
0032 private:
0033     QString m_dataDir;
0034 };
0035 #endif