00001 #ifndef TEST_GRAPH_COORDS_H 00002 #define TEST_GRAPH_COORDS_H 00003 00004 #include "DocumentModelCoords.h" 00005 #include <QObject> 00006 00007 class CallbackUpdateTransform; 00008 00010 class TestGraphCoords : public QObject 00011 { 00012 Q_OBJECT 00013 public: 00015 explicit TestGraphCoords(QObject *parent = 0); 00016 00017 signals: 00018 00019 private slots: 00020 void cleanupTestCase (); 00021 void initTestCase (); 00022 00023 void testAnyColumnsRepeatNo (); 00024 void testAnyColumnsRepeatYes (); 00025 void testThreeCollinearPointsNo (); 00026 void testThreeCollinearPointsYes (); 00027 00028 private: 00029 00030 DocumentModelCoords m_modelCoords; 00031 CallbackUpdateTransform *m_callback; 00032 }; 00033 00034 #endif // TEST_GRAPH_COORDS_H