source: src/Fragmentation/Summation/SetValues/unittests/FragmentForcesUnitTest.hpp@ f79d65

Action_Thermostats Add_AtomRandomPerturbation Add_SelectAtomByNameAction Adding_Graph_to_ChangeBondActions Adding_MD_integration_tests Adding_StructOpt_integration_tests AutomationFragmentation_failures Candidate_v1.6.1 Candidate_v1.7.0 ChangeBugEmailaddress ChemicalSpaceEvaluator EmpiricalPotential_contain_HomologyGraph_documentation Enhance_userguide Enhanced_StructuralOptimization Enhanced_StructuralOptimization_continued Example_ManyWaysToTranslateAtom Exclude_Hydrogens_annealWithBondGraph Fix_Verbose_Codepatterns ForceAnnealing_oldresults ForceAnnealing_with_BondGraph ForceAnnealing_with_BondGraph_continued ForceAnnealing_with_BondGraph_continued_betteresults ForceAnnealing_with_BondGraph_contraction-expansion GeometryObjects Gui_displays_atomic_force_velocity IndependentFragmentGrids_IntegrationTest JobMarket_RobustOnKillsSegFaults JobMarket_StableWorkerPool PythonUI_with_named_parameters QtGui_reactivate_TimeChanged_changes Recreated_GuiChecks StoppableMakroAction TremoloParser_IncreasedPrecision TremoloParser_MultipleTimesteps stable
Last change on this file since f79d65 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
20class 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
28public:
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.