diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-12-23 11:33:42 -0500 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-12-23 11:33:42 -0500 |
| commit | 4b5721f05ca039bc1656665811356edc3cf7839f (patch) | |
| tree | 8838b964a2837034d8381020a96d5fecbc34638d /sigcore/test/TestMatrix.cpp | |
| parent | 47d5c9bee1fd35edb92e9d0dd2069b501480a8d3 (diff) | |
| download | sigen-4b5721f05ca039bc1656665811356edc3cf7839f.tar.gz sigen-4b5721f05ca039bc1656665811356edc3cf7839f.tar.xz sigen-4b5721f05ca039bc1656665811356edc3cf7839f.zip | |
Cleaned up test files to only be source files
Diffstat (limited to 'sigcore/test/TestMatrix.cpp')
| -rw-r--r-- | sigcore/test/TestMatrix.cpp | 29 |
1 files changed, 27 insertions, 2 deletions
diff --git a/sigcore/test/TestMatrix.cpp b/sigcore/test/TestMatrix.cpp index 53cf57ea..908ae80b 100644 --- a/sigcore/test/TestMatrix.cpp +++ b/sigcore/test/TestMatrix.cpp @@ -15,12 +15,37 @@ * with this program. If not, see <http://www.gnu.org/licenses/>. */ -// Header include -#include "TestMatrix.h" +// Sigcore includes +#include "../Matrix.h" // Qt includes #include <QtTest/QTest> +class TestMatrix : public QObject +{ + Q_OBJECT + + private slots: + void addRow(); + void addColumn(); + void insertRow(); + void insertColumn(); + void deleteRow(); + void deleteColumn(); + + void clear(); + + void resize(); + + void row(); + void column(); + + void access(); + + void assignment(); + void equal(); +}; + void TestMatrix::addRow() { Sigcore::Matrix<int> mat; |
