source: src/Element/unittests/IonUnitTest.hpp@ 7516f6

Action_Thermostats 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 7516f6 was 31bd9c, checked in by Frederik Heber <heber@…>, 11 years ago

Added ion class, derived from element.

  • Property mode set to 100644
File size: 948 bytes
Line 
1/*
2 * IonUnitTest.hpp
3 *
4 * Created on: Mar 10, 2014
5 * Author: heber
6 */
7
8#ifndef IONUNITTEST_HPP_
9#define IONUNITTEST_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 element;
20class ion;
21
22/********************************************** Test classes **************************************/
23
24class IonTest : public CppUnit::TestFixture
25{
26 CPPUNIT_TEST_SUITE( IonTest) ;
27 CPPUNIT_TEST ( CreationTest );
28 CPPUNIT_TEST ( GetterTest );
29 CPPUNIT_TEST ( ComparisonTest );
30 CPPUNIT_TEST ( AssignmentTest );
31 CPPUNIT_TEST ( SerializeTest );
32 CPPUNIT_TEST_SUITE_END();
33
34public:
35 void setUp();
36 void tearDown();
37 void CreationTest();
38 void AssignmentTest();
39 void GetterTest();
40 void ComparisonTest();
41 void SerializeTest();
42
43private:
44 element *testelement;
45 ion *testion;
46};
47
48#endif /* IONUNITTEST_HPP_ */
Note: See TracBrowser for help on using the repository browser.