ForceAnnealing_goodresults
ForceAnnealing_tocheck
|
Last change
on this file since 7c7696 was 291ad9, checked in by Frederik Heber <heber@…>, 9 years ago |
|
Added operator+=() to FragmentForces and unit test.
- FIX: operator==() was not working properly.
|
-
Property mode
set to
100644
|
|
File size:
871 bytes
|
| Line | |
|---|
| 1 | /*
|
|---|
| 2 | * FragmentForcesUnitTest.hpp
|
|---|
| 3 | *
|
|---|
| 4 | * Created on: Aug 18, 2016
|
|---|
| 5 | * Author: heber
|
|---|
| 6 | */
|
|---|
| 7 |
|
|---|
| 8 | #ifndef FRAGMENTFORCESUNITTEST_HPP_
|
|---|
| 9 | #define FRAGMENTFORCESUNITTEST_HPP_
|
|---|
| 10 |
|
|---|
| 11 | // include config.h
|
|---|
| 12 | #ifdef HAVE_CONFIG_H
|
|---|
| 13 | #include <config.h>
|
|---|
| 14 | #endif
|
|---|
| 15 |
|
|---|
| 16 | #include <cppunit/extensions/HelperMacros.h>
|
|---|
| 17 |
|
|---|
| 18 | /********************************************** Test classes **************************************/
|
|---|
| 19 |
|
|---|
| 20 | class FragmentForcesTest : public CppUnit::TestFixture
|
|---|
| 21 | {
|
|---|
| 22 | CPPUNIT_TEST_SUITE( FragmentForcesTest) ;
|
|---|
| 23 | CPPUNIT_TEST ( equality_Test );
|
|---|
| 24 | CPPUNIT_TEST ( operatorPlusEqual_NonOverlapping_Test );
|
|---|
| 25 | CPPUNIT_TEST ( operatorPlusEqual_Test );
|
|---|
| 26 | CPPUNIT_TEST_SUITE_END();
|
|---|
| 27 |
|
|---|
| 28 | public:
|
|---|
| 29 | void setUp();
|
|---|
| 30 | void tearDown();
|
|---|
| 31 | void equality_Test();
|
|---|
| 32 | void operatorPlusEqual_NonOverlapping_Test();
|
|---|
| 33 | void operatorPlusEqual_Test();
|
|---|
| 34 |
|
|---|
| 35 | };
|
|---|
| 36 |
|
|---|
| 37 | #endif /* FRAGMENTFORCESUNITTEST_HPP_ */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.