Engauge Digitizer 2
Loading...
Searching...
No Matches
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
7class TestGridLineLimiter : public QObject
8{
10public:
12 explicit TestGridLineLimiter(QObject *parent = 0);
13
15
16private 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
27private:
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
const int INNER_RADIUS_MIN
Unit test of GridLineLimiter class.
TestGridLineLimiter(QObject *parent=0)
Single constructor.