Candidate_v1.7.0
        stable
      
      
        
          | 
            Last change
 on this file since c41ce0 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
           | 
        
      
      
| Rev | Line |   | 
|---|
| [96c961] | 1 | /*
 | 
|---|
| [f844ef] | 2 |  * AnalysisBondsUnitTest.hpp
 | 
|---|
| [96c961] | 3 |  *
 | 
|---|
 | 4 |  *  Created on: Nov 7, 2009
 | 
|---|
 | 5 |  *      Author: heber
 | 
|---|
 | 6 |  */
 | 
|---|
 | 7 | 
 | 
|---|
 | 8 | #ifndef ANALYSISBONDSUNITTEST_HPP_
 | 
|---|
 | 9 | #define ANALYSISBONDSUNITTEST_HPP_
 | 
|---|
 | 10 | 
 | 
|---|
| [56f73b] | 11 | // include config.h
 | 
|---|
 | 12 | #ifdef HAVE_CONFIG_H
 | 
|---|
 | 13 | #include <config.h>
 | 
|---|
 | 14 | #endif
 | 
|---|
 | 15 | 
 | 
|---|
 | 16 | 
 | 
|---|
| [96c961] | 17 | #include <cppunit/extensions/HelperMacros.h>
 | 
|---|
 | 18 | 
 | 
|---|
| [220cf37] | 19 | class BondGraph;
 | 
|---|
| [96c961] | 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) ;
 | 
|---|
| [220cf37] | 29 |     CPPUNIT_TEST ( GetMaxMinMeanBondCountTest );
 | 
|---|
 | 30 |     CPPUNIT_TEST ( MinMeanMaxBondDistanceBetweenElementsTest );
 | 
|---|
| [96c961] | 31 |     CPPUNIT_TEST_SUITE_END();
 | 
|---|
 | 32 | 
 | 
|---|
 | 33 | public:
 | 
|---|
 | 34 |       void setUp();
 | 
|---|
 | 35 |       void tearDown();
 | 
|---|
| [220cf37] | 36 |       void GetMaxMinMeanBondCountTest();
 | 
|---|
 | 37 |       void MinMeanMaxBondDistanceBetweenElementsTest();
 | 
|---|
| [96c961] | 38 | 
 | 
|---|
 | 39 | private:
 | 
|---|
 | 40 | 
 | 
|---|
 | 41 |       molecule *TestMolecule;
 | 
|---|
| [4eb4fe] | 42 |       const element *hydrogen;
 | 
|---|
 | 43 |       const element *carbon;
 | 
|---|
| [96c961] | 44 | 
 | 
|---|
 | 45 |       BondGraph *BG;
 | 
|---|
 | 46 |       string *filename;
 | 
|---|
 | 47 | };
 | 
|---|
 | 48 | 
 | 
|---|
 | 49 | #endif /* ANALYSISBONDSUNITTEST_HPP_ */
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.