Fix_FitPartialCharges
      
      
        
          | Last change
 on this file since eaf08f 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.