File: NSLIntTest.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 (34 lines) | stat: -rw-r--r-- 855 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
/*
    File                 : NSLIntTest.h
    Project              : LabPlot
    Description          : NSL Tests for numerical integration
    --------------------------------------------------------------------
    SPDX-FileCopyrightText: 2019 Stefan Gerlach <stefan.gerlach@uni.kn>

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

#include "../NSLTest.h"

class NSLIntTest : public NSLTest {
	Q_OBJECT

private Q_SLOTS:
	// rules integral/area
	void testRectangle_integral();
	void testRectangle_area();
	void testTrapezoid_integral();
	void testTrapezoid_area();
	void test3Point_integral();
	void test4Point_integral();
	// performance
	void testPerformanceRectangle();
	void testPerformanceTrapezoid();
	void testPerformance3Point();
	void testPerformance4Point();
private:
	QString m_dataDir;
};
#endif