File: NSLDiffTest.h

package info (click to toggle)
labplot 2.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 70,348 kB
  • sloc: cpp: 145,806; ansic: 4,534; python: 881; yacc: 540; xml: 357; sh: 185; awk: 35; makefile: 7
file content (40 lines) | stat: -rw-r--r-- 978 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
    File                 : NSLDiffTest.h
    Project              : LabPlot
    Description          : NSL Tests for numerical differentiation
    --------------------------------------------------------------------
    SPDX-FileCopyrightText: 2019 Stefan Gerlach <stefan.gerlach@uni.kn>

    SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef NSLDIFFTEST_H
#define NSLDIFFTEST_H

#include "../NSLTest.h"

class NSLDiffTest : public NSLTest {
	Q_OBJECT

private Q_SLOTS:
	// first derivative
	void testFirst_order2();
	void testFirst_order4();
	void testFirst_avg();
	// second derivative
	void testSecond_order1();
	void testSecond_order2();
	void testSecond_order3();
	// higher derivative
	void testThird_order2();
	void testFourth_order1();
	void testFourth_order3();
	void testFifth_order2();
	void testSixth_order1();
	// performance
	void testPerformance_first();
	void testPerformance_second();
	void testPerformance_third();
private:
	QString m_dataDir;
};
#endif