00001 #ifndef TEST_MATRIX_H 00002 #define TEST_MATRIX_H 00003 00004 #include "Matrix.h" 00005 #include <QObject> 00006 00008 class TestMatrix : public QObject 00009 { 00010 Q_OBJECT 00011 public: 00013 explicit TestMatrix(QObject *parent = 0); 00014 00015 signals: 00016 00017 private slots: 00018 void cleanupTestCase (); 00019 void initTestCase (); 00020 00021 void testDeterminant (); 00022 void testInverse (); 00023 void testInverse2 (); 00024 void testMultiplyNonSquareMatrix (); 00025 void testMultiplyNonSquareMatrixAndVector (); 00026 void testMultiplySquareMatrix (); 00027 void testMultiplySquareMatrixAndVector (); 00028 void testTranspose (); 00029 00030 private: 00031 00032 }; 00033 00034 #endif // TEST_MATRIX_H