Engauge Digitizer
2
Loading...
Searching...
No Matches
Test
TestGridLineLimiter.h
Go to the documentation of this file.
1
#ifndef TEST_GRID_LINE_LIMITER_H
2
#define TEST_GRID_LINE_LIMITER_H
3
4
#include <QObject>
5
7
class
TestGridLineLimiter
:
public
QObject
8
{
9
Q_OBJECT
10
public
:
12
explicit
TestGridLineLimiter
(QObject *
parent
= 0);
13
14
signals
:
15
16
private
slots
:
17
void
cleanupTestCase ();
18
void
initTestCase ();
19
20
void
testBadStepLinearX ();
21
void
testBadStepLinearY ();
22
void
testBadStepLogX ();
23
void
testBadStepLogY ();
24
void
testTransitionLinearToLogX ();
25
void
testTransitionLinearToLogY ();
26
27
private
:
28
bool
testLinearX (
double
start
,
29
double
step
,
30
double
stop
,
31
double
x1
,
double
y1
,
32
double
x2
,
double
y2
,
33
double
x3
,
double
y3
);
34
bool
testLinearY (
double
start
,
35
double
step
,
36
double
stop
,
37
double
x1
,
double
y1
,
38
double
x2
,
double
y2
,
39
double
x3
,
double
y3
);
40
bool
testLogX (
double
start
,
41
double
step
,
42
double
stop
,
43
double
x1
,
double
y1
,
44
double
x2
,
double
y2
,
45
double
x3
,
double
y3
);
46
bool
testLogY (
double
start
,
47
double
step
,
48
double
stop
,
49
double
x1
,
double
y1
,
50
double
x2
,
double
y2
,
51
double
x3
,
double
y3
);
52
};
53
54
#endif
// TEST_GRID_LINE_LIMITER_H
INNER_RADIUS_MIN
const int INNER_RADIUS_MIN
Definition
DlgSettingsDigitizeCurve.cpp:35
TestGridLineLimiter
Unit test of GridLineLimiter class.
Definition
TestGridLineLimiter.h:8
TestGridLineLimiter::TestGridLineLimiter
TestGridLineLimiter(QObject *parent=0)
Single constructor.
Definition
TestGridLineLimiter.cpp:16
Generated on Wed Aug 3 2022 00:00:00 for Engauge Digitizer by
1.10.0