/* * AtomIdSetUnitTest.hpp * * Created on: Feb 21, 2012 * Author: heber */ #ifndef ATOMIDSETUNITTEST_HPP_ #define ATOMIDSETUNITTEST_HPP_ // include config.h #ifdef HAVE_CONFIG_H #include #endif #include #include class atom; #include "AtomIdSet.hpp" class AtomIdSetUnittest : public CppUnit::TestFixture { CPPUNIT_TEST_SUITE( AtomIdSetUnittest ); CPPUNIT_TEST ( inserteraseTest ); CPPUNIT_TEST ( positionTest ); CPPUNIT_TEST ( findTest ); CPPUNIT_TEST ( containsTest ); CPPUNIT_TEST ( emptyTest ); CPPUNIT_TEST ( sizeTest ); CPPUNIT_TEST_SUITE_END(); public: void setUp(); void tearDown(); void inserteraseTest(); void positionTest(); void findTest(); void containsTest(); void emptyTest(); void sizeTest(); private: std::vector atomVector; AtomIdSet atoms; static size_t MaxAtoms; }; #endif /* ATOMIDSETUNITTEST_HPP_ */