File: XYCurveTest.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 (77 lines) | stat: -rw-r--r-- 2,322 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
/*
	File                 : XYCurveTest.h
	Project              : LabPlot
	Description          : Tests for XYCurve
	--------------------------------------------------------------------
	SPDX-FileCopyrightText: 2021 Martin Marmsoler <martin.marmsoler@gmail.com>

	SPDX-License-Identifier: GPL-2.0-or-later
*/

#ifndef XYCURVETEST_H
#define XYCURVETEST_H

#include "../../CommonTest.h"

class XYCurveTest : public CommonTest {
	Q_OBJECT

private Q_SLOTS:

	void setColumn();

	void addUniqueLineTest01();

	// lineSkipGaps = false
	void updateLinesNoGapDirectConnection();
	void updateLinesNoGapStartHorizontal();
	void updateLinesNoGapStartVertical();
	void updateLinesNoGapMidPointHorizontal();
	void updateLinesNoGapMidPointVertical();
	void updateLinesNoGapSegments2();
	void updateLinesNoGapSegments3();

	// lineSkipGaps = false
	void updateLinesNoGapDirectConnectionLastVertical();
	void updateLinesNoGapStartHorizontalLastVertical();
	void updateLinesNoGapStartVerticalLastVertical();
	void updateLinesNoGapMidPointHorizontalLastVertical();
	void updateLinesNoGapMidPointVerticalLastVertical();
	void updateLinesNoGapSegments2LastVertical();
	void updateLinesNoGapSegments3LastVertical();

	// lineSkipGaps = true
	void updateLinesWithGapLineSkipDirectConnection();
	void updateLinesWithGapLineSkipDirectConnection2();
	void updateLinesWithGapLineSkipStartHorizontal();
	void updateLinesWithGapLineSkipStartVertical();
	void updateLinesWithGapLineSkipMidPointHorizontal();
	void updateLinesWithGapLineSkipMidPointVertical();
	void updateLinesWithGapLineSkipSegments2();
	void updateLinesWithGapLineSkipSegments3();

	// lineSkipGaps = false
	void updateLinesWithGapDirectConnection();
	void updateLinesWithGapStartHorizontal();
	void updateLinesWithGapStartVertical();
	void updateLinesWithGapMidPointHorizontal();
	void updateLinesWithGapMidPointVertical();
	void updateLinesWithGapSegments2();
	void updateLinesWithGapSegments3();

	// Nonlinear
	void updateLinesLog10();

	// Hover XYCurve
	void hooverCurveIntegerEndingZeros();

	void scatterStrictMonotonicIncreasing();
	void scatterMonotonicIncreasing();
	void scatterMonotonicIncreasingPlotRangeDecreasing();
	void scatterMonotonicDecreasing();

	void lineMonotonicIncreasing();
	void lineMonotonicIncreasingPlotRangeDecreasing();
};

#endif // XYCURVETEST_H