00001 00006 #ifndef spaceTest_hh 00007 #define spaceTest_hh 00008 00009 #include "basics/testcase.hh" 00010 00011 using concepts::Real; 00012 00013 namespace test { 00014 00018 class SpaceTest3D : public TestCase { 00019 public: 00020 SpaceTest3D() : elmIdx_(0) {} 00021 virtual ~SpaceTest3D() {} 00022 virtual void run(); 00023 00025 00026 00027 void testSpace(); 00029 private: 00030 void r_(const uint, const uint); 00031 void c_(const uint, const Real); 00032 std::list<std::pair<uint, uint> > rowIdx_[16]; 00033 std::list<std::pair<uint, Real> > colAndEntry_[16]; 00034 uint elmIdx_; 00035 }; 00036 00037 } // namespace test 00038 00039 #endif // spaceTest_hh