Engauge Digitizer  2
TestGraphCoords.h
1 #ifndef TEST_GRAPH_COORDS_H
2 #define TEST_GRAPH_COORDS_H
3 
4 #include "DocumentModelCoords.h"
5 #include <QObject>
6 
8 
10 class TestGraphCoords : public QObject
11 {
12  Q_OBJECT
13 public:
15  explicit TestGraphCoords(QObject *parent = 0);
16 
17 signals:
18 
19 private slots:
20  void cleanupTestCase ();
21  void initTestCase ();
22 
23  void testAnyColumnsRepeatNo ();
24  void testAnyColumnsRepeatYes ();
25  void testThreeCollinearPointsNo ();
26  void testThreeCollinearPointsYes ();
27 
28 private:
29 
30  DocumentModelCoords m_modelCoords;
31  CallbackUpdateTransform *m_callback;
32 };
33 
34 #endif // TEST_GRAPH_COORDS_H
Callback for collecting axis points and then calculating the current transform from those axis points...
Unit tests of graph coordinate sanity checking.
TestGraphCoords(QObject *parent=0)
Single constructor.
Model for DlgSettingsCoords and CmdSettingsCoords.