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{
9 Q_OBJECT
10public:
12 explicit TestGridLineLimiter(QObject *parent = 0);
13
14signals:
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 unsigned int num,
32 double x1, double y1,
33 double x2, double y2,
34 double x3, double y3);
35 bool testLinearY (double start,
36 double step,
37 double stop,
38 unsigned int num,
39 double x1, double y1,
40 double x2, double y2,
41 double x3, double y3);
42 bool testLogX (double start,
43 double step,
44 double stop,
45 unsigned int num,
46 double x1, double y1,
47 double x2, double y2,
48 double x3, double y3);
49 bool testLogY (double start,
50 double step,
51 double stop,
52 unsigned int num,
53 double x1, double y1,
54 double x2, double y2,
55 double x3, double y3);
56};
57
58#endif // TEST_GRID_LINE_LIMITER_H
TestGridLineLimiter(QObject *parent=0)
Single constructor.