00001 00006 #ifndef matlabmatfiletest_hh 00007 #define matlabmatfiletest_hh 00008 00009 #include "matfile/matlabMatfile.hh" 00010 #include "basics/testcase.hh" 00011 00012 namespace test { 00013 00014 // ****************************************************** MatlabMatfileTest ** 00015 00020 class MatlabMatfileTest: public TestCase { 00021 00022 public: 00023 MatlabMatfileTest() { } ; 00024 00025 virtual ~MatlabMatfileTest() { } 00026 00027 virtual void run(); 00028 00029 private: 00030 00031 void testBasics(); 00032 00033 template<typename F> 00034 void testDenseMatrix(concepts::DenseMatrix<F>& dm); 00035 00036 template<typename F> 00037 void testSparseMatrix(concepts::SparseMatrix<F>& sm); 00038 00040 00041 void createMATfile() const; 00042 void testReading(); 00044 00045 }; 00046 00047 } // namespace test 00048 00049 #endif