/* * LinkedCell_ModelUnitTest.hpp * * Created on: Nov 17, 2011 * Author: heber */ #ifndef LINKEDCELL_MODELUNITTEST_HPP_ #define LINKEDCELL_MODELUNITTEST_HPP_ // include config.h #ifdef HAVE_CONFIG_H #include #endif class Box; namespace LinkedCell { class LinkedCell_Model; } #include /********************************************** Test classes **************************************/ class LinkedCell_ModelTest : public CppUnit::TestFixture { CPPUNIT_TEST_SUITE( LinkedCell_ModelTest) ; CPPUNIT_TEST ( AllocationTest ); CPPUNIT_TEST ( getSizeTest ); CPPUNIT_TEST ( ResetTest ); CPPUNIT_TEST ( insertPointCloudTest ); CPPUNIT_TEST ( setPartitionTest ); CPPUNIT_TEST ( getStepTest ); CPPUNIT_TEST ( getIndexToVectorTest ); CPPUNIT_TEST ( nodeTest ); CPPUNIT_TEST ( lazyUpdatesTest ); CPPUNIT_TEST_SUITE_END(); public: void setUp(); void tearDown(); void AllocationTest(); void getSizeTest(); void ResetTest(); void insertPointCloudTest(); void setPartitionTest(); void getStepTest(); void getIndexToVectorTest(); void nodeTest(); void lazyUpdatesTest(); private: typedef std::set PointSet; PointSet NodeList; Box *domain; LinkedCell::LinkedCell_Model *LC; }; #endif /* LINKEDCELL_MODELUNITTEST_HPP_ */