/* * SetValueUnitTest.hpp * * Created on: Jun 27, 2012 * Author: heber */ #ifndef SETVALUEUNITTEST_HPP_ #define SETVALUEUNITTEST_HPP_ // include config.h #ifdef HAVE_CONFIG_H #include #endif #include #include "Fragmentation/Summation/IndexSet.hpp" #include "Fragmentation/Summation/SetValue.hpp" /********************************************** Test classes **************************************/ class SetValueTest : public CppUnit::TestFixture { CPPUNIT_TEST_SUITE( SetValueTest) ; CPPUNIT_TEST ( constructorTest ); CPPUNIT_TEST ( operatorTest ); CPPUNIT_TEST ( getContributiontest ); CPPUNIT_TEST_SUITE_END(); public: void setUp(); void tearDown(); void constructorTest(); void operatorTest(); void getContributiontest(); private: IndexSet::ptr indices; SetValue::ptr value; }; #endif /* SETVALUEUNITTEST_HPP_ */