Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

matfile/testsuite/matfileTest.hh
Go to the documentation of this file.
00001 
00009 #ifndef matfileTest_hh
00010 #define matfileTest_hh
00011 
00012 #include "matfile.hh"
00013 #include "basics/testcase.hh"
00014 
00015 namespace test {
00016 
00025 class MatfileTest: public TestCase {
00026 
00027 public:
00028   MatfileTest() {
00029   }
00030   ;
00031   virtual ~MatfileTest() {
00032   }
00033   virtual void run();
00034 
00035   //test Constructur
00036   void testConstr();
00037   //tests the reopener
00038   void testOpen();
00039   //tests for adding matrices
00040   void testMatfileEnding();
00041   //tests for adding matrices
00042   //tests adding SparseMatrix<Real>
00043   void testSR();
00044   //tests adding SparseMatrix<Cmplx>
00045   void testSC();
00046   //tests adding Densematrix<Real>
00047   void testDR();
00048   //tests adding DenseMatrix<Cmplx>
00049   void testDC();
00050   //tests adding SparseMatrix<Real> with none non-zero entries
00051   void testSZero();
00052 
00053   //compares concepts::SparseMatrix
00054   template<class T>
00055   uint is_equal(const concepts::SparseMatrix<T> *A,
00056       const concepts::SparseMatrix<T> *B);
00057   //compares concepts::DenseMatrix
00058   template<class T>
00059   uint is_equal(concepts::DenseMatrix<T> *A, concepts::DenseMatrix<T> *B);
00060 
00061 };
00062 
00063 } // namespace test
00064 
00065 #endif

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)