/* * PairPotential_MorseUnitTest.hpp * * Created on: Oct 04, 2012 * Author: heber */ #ifndef PAIRPOTENTIAL_MORSEUNITTEST_HPP_ #define PAIRPOTENTIAL_MORSEUNITTEST_HPP_ // include config.h #ifdef HAVE_CONFIG_H #include #endif #include class PairPotential_Morse; /********************************************** Test classes **************************************/ class PairPotential_MorseTest : public CppUnit::TestFixture { CPPUNIT_TEST_SUITE( PairPotential_MorseTest) ; CPPUNIT_TEST ( operatorTest ); CPPUNIT_TEST ( derivativeTest ); CPPUNIT_TEST ( parameter_derivativeTest ); CPPUNIT_TEST_SUITE_END(); public: void setUp(); void tearDown(); void operatorTest(); void derivativeTest(); void parameter_derivativeTest(); private: typedef std::vector data_t; data_t input; data_t output; double a,c,d,D; }; #endif /* PAIRPOTENTIAL_MORSEUNITTEST_HPP_ */