Candidate_v1.7.0
        stable
      
      
        
          | 
            Last change
 on this file since 5aa337 was             2affd1, checked in by Frederik Heber <heber@…>, 10 years ago           | 
        
        
          | 
             
Removed molecules_deprecated from World and unnecessary includes of MoleculeListClass and all insert/erase. 
 
- this goes along the lines of removing "remove me when we don't need
MoleculeCistClass anymore".
  
           | 
        
        
          
            
              - 
Property                 mode
 set to                 
100644
               
             
           | 
        
        
          | 
            File size:
            1.1 KB
           | 
        
      
      
| Rev | Line |   | 
|---|
| [c4d4df] | 1 | /*
 | 
|---|
 | 2 |  * AnalysisPairCorrelationUnitTest.hpp
 | 
|---|
 | 3 |  *
 | 
|---|
 | 4 |  *  Created on: Oct 13, 2009
 | 
|---|
 | 5 |  *      Author: heber
 | 
|---|
 | 6 |  */
 | 
|---|
 | 7 | 
 | 
|---|
 | 8 | #ifndef ANALYSISPAIRCORRELATIONUNITTEST_HPP_
 | 
|---|
 | 9 | #define ANALYSISPAIRCORRELATIONUNITTEST_HPP_
 | 
|---|
 | 10 | 
 | 
|---|
| [56f73b] | 11 | // include config.h
 | 
|---|
 | 12 | #ifdef HAVE_CONFIG_H
 | 
|---|
 | 13 | #include <config.h>
 | 
|---|
 | 14 | #endif
 | 
|---|
 | 15 | 
 | 
|---|
 | 16 | 
 | 
|---|
| [c4d4df] | 17 | #include <cppunit/extensions/HelperMacros.h>
 | 
|---|
 | 18 | 
 | 
|---|
 | 19 | class element;
 | 
|---|
| [a5551b] | 20 | class molecule;
 | 
|---|
| [c4d4df] | 21 | class Vector;
 | 
|---|
 | 22 | 
 | 
|---|
 | 23 | /********************************************** Test classes **************************************/
 | 
|---|
 | 24 | 
 | 
|---|
 | 25 | class AnalysisPairCorrelationUnitTest : public CppUnit::TestFixture
 | 
|---|
 | 26 | {
 | 
|---|
 | 27 |     CPPUNIT_TEST_SUITE( AnalysisPairCorrelationUnitTest ) ;
 | 
|---|
 | 28 |     CPPUNIT_TEST ( PairCorrelationTest );
 | 
|---|
 | 29 |     CPPUNIT_TEST ( PairCorrelationBinNoRangeTest );
 | 
|---|
 | 30 |     CPPUNIT_TEST ( PairCorrelationBinRangeTest );
 | 
|---|
 | 31 |     CPPUNIT_TEST_SUITE_END();
 | 
|---|
 | 32 | 
 | 
|---|
 | 33 | public:
 | 
|---|
 | 34 |       void setUp();
 | 
|---|
 | 35 |       void tearDown();
 | 
|---|
 | 36 |       void PairCorrelationTest();
 | 
|---|
 | 37 |       void PairCorrelationBinNoRangeTest();
 | 
|---|
 | 38 |       void PairCorrelationBinRangeTest();
 | 
|---|
 | 39 | 
 | 
|---|
 | 40 | private:
 | 
|---|
 | 41 | 
 | 
|---|
| [e65de8] | 42 |       std::vector<molecule *> allMolecules;
 | 
|---|
| [c4d4df] | 43 |       molecule *TestMolecule;
 | 
|---|
| [e5c0a1] | 44 |       const element *hydrogen;
 | 
|---|
| [c4d4df] | 45 | 
 | 
|---|
 | 46 |       PairCorrelationMap *correlationmap;
 | 
|---|
 | 47 |       BinPairMap *binmap;
 | 
|---|
 | 48 | };
 | 
|---|
 | 49 | 
 | 
|---|
 | 50 | #endif /* ANALYSISPAIRCORRELATIONUNITTEST_HPP_ */
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.