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 987145 was             9b5a2c, checked in by Frederik Heber <heber@…>, 14 years ago | 
        
          | 
Moved analysis modules into subfolder Analysis along with its unit tests.
 new Makefiles are included in src/Makefile.am and src/unittests/Makefile.am.
 | 
        
          | 
              
Property                 mode
 set to                 100644 | 
        
          | File size:
            1.0 KB | 
      
      
| Line |  | 
|---|
| 1 | /* | 
|---|
| 2 | * AnalysisBondsUnitTest.hpp | 
|---|
| 3 | * | 
|---|
| 4 | *  Created on: Nov 7, 2009 | 
|---|
| 5 | *      Author: heber | 
|---|
| 6 | */ | 
|---|
| 7 |  | 
|---|
| 8 | #ifndef ANALYSISBONDSUNITTEST_HPP_ | 
|---|
| 9 | #define ANALYSISBONDSUNITTEST_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 |  | 
|---|
| 19 | class BondGraph; | 
|---|
| 20 | class element; | 
|---|
| 21 | class molecule; | 
|---|
| 22 | class periodentafel; | 
|---|
| 23 |  | 
|---|
| 24 | /********************************************** Test classes **************************************/ | 
|---|
| 25 |  | 
|---|
| 26 | class AnalysisBondsTest : public CppUnit::TestFixture | 
|---|
| 27 | { | 
|---|
| 28 | CPPUNIT_TEST_SUITE( AnalysisBondsTest) ; | 
|---|
| 29 | CPPUNIT_TEST ( GetMaxMinMeanBondCountTest ); | 
|---|
| 30 | CPPUNIT_TEST ( MinMeanMaxBondDistanceBetweenElementsTest ); | 
|---|
| 31 | CPPUNIT_TEST_SUITE_END(); | 
|---|
| 32 |  | 
|---|
| 33 | public: | 
|---|
| 34 | void setUp(); | 
|---|
| 35 | void tearDown(); | 
|---|
| 36 | void GetMaxMinMeanBondCountTest(); | 
|---|
| 37 | void MinMeanMaxBondDistanceBetweenElementsTest(); | 
|---|
| 38 |  | 
|---|
| 39 | private: | 
|---|
| 40 |  | 
|---|
| 41 | molecule *TestMolecule; | 
|---|
| 42 | const element *hydrogen; | 
|---|
| 43 | const element *carbon; | 
|---|
| 44 |  | 
|---|
| 45 | BondGraph *BG; | 
|---|
| 46 | string *filename; | 
|---|
| 47 | }; | 
|---|
| 48 |  | 
|---|
| 49 | #endif /* ANALYSISBONDSUNITTEST_HPP_ */ | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.