source: src/Graph/unittests/BoostGraphCreatorUnitTest.hpp@ 966ce7

Action_Thermostats Adding_Graph_to_ChangeBondActions Adding_MD_integration_tests Adding_StructOpt_integration_tests AutomationFragmentation_failures Candidate_v1.6.1 ChemicalSpaceEvaluator Enhanced_StructuralOptimization Enhanced_StructuralOptimization_continued Exclude_Hydrogens_annealWithBondGraph Fix_Verbose_Codepatterns ForceAnnealing_with_BondGraph ForceAnnealing_with_BondGraph_continued ForceAnnealing_with_BondGraph_continued_betteresults ForceAnnealing_with_BondGraph_contraction-expansion Gui_displays_atomic_force_velocity JobMarket_RobustOnKillsSegFaults JobMarket_StableWorkerPool PythonUI_with_named_parameters Recreated_GuiChecks StoppableMakroAction TremoloParser_IncreasedPrecision
Last change on this file since 966ce7 was 0dc8bf2, checked in by Frederik Heber <frederik.heber@…>, 8 years ago

Added unit test for BoostGraphCreator.

  • Property mode set to 100644
File size: 1.1 KB
Line 
1/*
2 * BoostGraphCreatorUnitTest.hpp
3 *
4 * Created on: May 19, 2017
5 * Author: heber
6 */
7
8#ifndef BOOSTGRAPHCREATORUNITTEST_HPP_
9#define BOOSTGRAPHCREATORUNITTEST_HPP_
10
11// include config.h
12#ifdef HAVE_CONFIG_H
13#include <config.h>
14#endif
15
16
17#include <cppunit/extensions/HelperMacros.h>
18
19class BoostGraphCreator;
20
21/********************************************** Test classes **************************************/
22
23class BoostGraphCreatorTest : public CppUnit::TestFixture
24{
25 CPPUNIT_TEST_SUITE( BoostGraphCreatorTest) ;
26 CPPUNIT_TEST ( SetupTest );
27 CPPUNIT_TEST ( createFromRangeTest );
28 CPPUNIT_TEST ( createFromMoleculeTest );
29 CPPUNIT_TEST ( createFromAtomsTest );
30 CPPUNIT_TEST_SUITE_END();
31
32public:
33 void setUp();
34 void tearDown();
35 void SetupTest();
36 void createFromRangeTest();
37 void createFromMoleculeTest();
38 void createFromAtomsTest();
39
40private:
41 BoostGraphCreator *BGCreator;
42
43 molecule *TestMolecule;
44 const element *hydrogen;
45 const element *carbon;
46};
47
48#endif /* BOOSTGRAPHCREATORUNITTEST_HPP_ */
Note: See TracBrowser for help on using the repository browser.