/* * BoxUnitTest.hpp * * Created on: Jul 30, 2010 * Author: crueger */ #ifndef BOXUNITTEST_HPP_ #define BOXUNITTEST_HPP_ // include config.h #ifdef HAVE_CONFIG_H #include #endif #include class RealSpaceMatrix; class Box; class BoxUnittest : public CppUnit::TestFixture { CPPUNIT_TEST_SUITE( BoxUnittest ); CPPUNIT_TEST ( setBoxTest ); CPPUNIT_TEST ( translateInOutTest ); CPPUNIT_TEST ( isInsideTest ); CPPUNIT_TEST ( WrapExplodeTest ); CPPUNIT_TEST ( BoundaryBounceTest ); CPPUNIT_TEST ( BoundaryIgnoreTest ); CPPUNIT_TEST ( BoundaryMixedTest ); CPPUNIT_TEST ( ObserverTest ); CPPUNIT_TEST_SUITE_END(); public: void setUp(); void tearDown(); void setBoxTest(); void translateInOutTest(); void isInsideTest(); void WrapExplodeTest(); void BoundaryBounceTest(); void BoundaryIgnoreTest(); void BoundaryMixedTest(); void ObserverTest(); RealSpaceMatrix *unit; RealSpaceMatrix *zero; RealSpaceMatrix *invertible; RealSpaceMatrix *uninvertible; Box *unitBox; Box *stretchedBox1; Box *stretchedBox2; Box *stretchedBox3; Box *stretchedBox4; Box *tiltedBox1; Box *tiltedBox2; Box *tiltedBox3; Box *tiltedBox4; }; #endif /* BOXUNITTEST_HPP_ */