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 6d78b6f was             592be9, checked in by Frederik Heber <heber@…>, 14 years ago | 
        
          | 
Moved unitests on Element... into subfolder src/Element/unittests.
 new Makefile is included in src/unitests/Makefile.am.
 | 
        
          | 
              
Property                 mode
 set to                 100644 | 
        
          | File size:
            1.0 KB | 
      
      
| Rev | Line |  | 
|---|
| [4eb4fe] | 1 | /* | 
|---|
| [f844ef] | 2 | * PeriodentafelUnitTest.hpp | 
|---|
| [4eb4fe] | 3 | * | 
|---|
|  | 4 | *  Created on: May 18, 2010 | 
|---|
|  | 5 | *      Author: heber | 
|---|
|  | 6 | */ | 
|---|
|  | 7 |  | 
|---|
| [f844ef] | 8 | #ifndef PERIODENTAFELUNITTEST_HPP_ | 
|---|
|  | 9 | #define PERIODENTAFELUNITTEST_HPP_ | 
|---|
| [4eb4fe] | 10 |  | 
|---|
| [56f73b] | 11 | // include config.h | 
|---|
|  | 12 | #ifdef HAVE_CONFIG_H | 
|---|
|  | 13 | #include <config.h> | 
|---|
|  | 14 | #endif | 
|---|
|  | 15 |  | 
|---|
|  | 16 |  | 
|---|
| [4eb4fe] | 17 | #include <cppunit/extensions/HelperMacros.h> | 
|---|
|  | 18 |  | 
|---|
|  | 19 | class element; | 
|---|
|  | 20 | class periodentafel; | 
|---|
|  | 21 |  | 
|---|
|  | 22 | /********************************************** Test classes **************************************/ | 
|---|
|  | 23 |  | 
|---|
|  | 24 | class periodentafelTest : public CppUnit::TestFixture | 
|---|
|  | 25 | { | 
|---|
|  | 26 | CPPUNIT_TEST_SUITE( periodentafelTest) ; | 
|---|
|  | 27 | CPPUNIT_TEST ( AddRemoveTest ); | 
|---|
|  | 28 | CPPUNIT_TEST ( LoadStoreTest ); | 
|---|
| [b60804] | 29 | CPPUNIT_TEST ( ComparisonTest ); | 
|---|
|  | 30 | CPPUNIT_TEST ( SerializeTest ); | 
|---|
| [4eb4fe] | 31 | CPPUNIT_TEST_SUITE_END(); | 
|---|
|  | 32 |  | 
|---|
|  | 33 | public: | 
|---|
|  | 34 | void setUp(); | 
|---|
|  | 35 | void tearDown(); | 
|---|
|  | 36 | void AddRemoveTest(); | 
|---|
|  | 37 | void LoadStoreTest(); | 
|---|
| [b60804] | 38 | void ComparisonTest(); | 
|---|
|  | 39 | void SerializeTest(); | 
|---|
| [4eb4fe] | 40 |  | 
|---|
|  | 41 | private: | 
|---|
|  | 42 |  | 
|---|
| [e5c0a1] | 43 | const element *hydrogen; | 
|---|
|  | 44 | const element *carbon; | 
|---|
| [4eb4fe] | 45 | periodentafel *tafel; | 
|---|
|  | 46 |  | 
|---|
|  | 47 | }; | 
|---|
|  | 48 |  | 
|---|
| [220cf64] | 49 | std::string gatherUndoInformation(const periodentafel &periode); | 
|---|
|  | 50 |  | 
|---|
|  | 51 |  | 
|---|
| [f844ef] | 52 | #endif /* PERIODENTAFELUNITTEST_HPP_ */ | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.