File: DifferentiationTest.h

package info (click to toggle)
labplot 2.12.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 78,500 kB
  • sloc: cpp: 241,048; ansic: 6,324; python: 915; xml: 400; yacc: 237; sh: 221; awk: 35; makefile: 11
file content (35 lines) | stat: -rw-r--r-- 834 bytes parent folder | download | duplicates (2)
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
/*
	File                 : DifferentiationTest.h
	Project              : LabPlot
	Description          : Tests for numerical differentiation
	--------------------------------------------------------------------
	SPDX-FileCopyrightText: 2018 Stefan Gerlach <stefan.gerlach@uni.kn>

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

#include <../AnalysisTest.h>

class DifferentiationTest : public AnalysisTest {
	Q_OBJECT

private Q_SLOTS:
	void testLinear();
	void testLinearNonEquidistant();
	void testQuadratic();
	void testQuadraticNonEquidistant();

	// higher order
	void testQuadraticSecondOrder();
	void testCubicSecondOrder();
	void testCubicThirdOrder();

	// duplicate X
	void testLinearDuplicateX();
	//	void testPerformance();

	void testRecalculation();
};
#endif