Candidate_v1.7.0
        stable
      
      
        
          | 
            Last change
 on this file since 38bcbe 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.7 KB
           | 
        
      
      
| Rev | Line |   | 
|---|
| [c4d4df] | 1 | /*
 | 
|---|
 | 2 |  * AnalysisCorrelationToSurfaceUnitTest.hpp
 | 
|---|
 | 3 |  *
 | 
|---|
 | 4 |  *  Created on: Oct 13, 2009
 | 
|---|
 | 5 |  *      Author: heber
 | 
|---|
 | 6 |  */
 | 
|---|
 | 7 | 
 | 
|---|
 | 8 | #ifndef ANALYSISCORRELATIONTOSURFACEUNITTEST_HPP_
 | 
|---|
 | 9 | #define ANALYSISCORRELATIONTOSURFACEUNITTEST_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;
 | 
|---|
| [6bd7e0] | 20 | class LinkedCell_deprecated;
 | 
|---|
| [a5551b] | 21 | class molecule;
 | 
|---|
| [c4d4df] | 22 | class periodentafel;
 | 
|---|
 | 23 | class Tesselation;
 | 
|---|
 | 24 | 
 | 
|---|
 | 25 | /********************************************** Test classes **************************************/
 | 
|---|
 | 26 | 
 | 
|---|
 | 27 | class AnalysisCorrelationToSurfaceUnitTest : public CppUnit::TestFixture
 | 
|---|
 | 28 | {
 | 
|---|
 | 29 |     CPPUNIT_TEST_SUITE( AnalysisCorrelationToSurfaceUnitTest ) ;
 | 
|---|
| [8db598] | 30 |     CPPUNIT_TEST ( SurfaceTest );
 | 
|---|
| [c4d4df] | 31 |     CPPUNIT_TEST ( CorrelationToSurfaceTest );
 | 
|---|
| [bbc338] | 32 |     CPPUNIT_TEST ( CorrelationToSurfaceHydrogenBinNoRangeTest );
 | 
|---|
 | 33 |     CPPUNIT_TEST ( CorrelationToSurfaceHydrogenBinRangeTest );
 | 
|---|
 | 34 |     CPPUNIT_TEST ( CorrelationToSurfaceCarbonBinNoRangeTest );
 | 
|---|
 | 35 |     CPPUNIT_TEST ( CorrelationToSurfaceCarbonBinRangeTest );
 | 
|---|
| [c4d4df] | 36 |     CPPUNIT_TEST_SUITE_END();
 | 
|---|
 | 37 | 
 | 
|---|
 | 38 | public:
 | 
|---|
 | 39 |       void setUp();
 | 
|---|
 | 40 |       void tearDown();
 | 
|---|
| [8db598] | 41 |       void SurfaceTest();
 | 
|---|
| [c4d4df] | 42 |       void CorrelationToSurfaceTest();
 | 
|---|
| [bbc338] | 43 |       void CorrelationToSurfaceHydrogenBinNoRangeTest();
 | 
|---|
 | 44 |       void CorrelationToSurfaceHydrogenBinRangeTest();
 | 
|---|
 | 45 |       void CorrelationToSurfaceCarbonBinNoRangeTest();
 | 
|---|
 | 46 |       void CorrelationToSurfaceCarbonBinRangeTest();
 | 
|---|
| [c4d4df] | 47 | 
 | 
|---|
 | 48 | private:
 | 
|---|
 | 49 | 
 | 
|---|
| [99db9b] | 50 |       std::vector<const molecule *> allMolecules;
 | 
|---|
| [8db598] | 51 |       molecule *TestSurfaceMolecule;
 | 
|---|
| [e5c0a1] | 52 |       const element *hydrogen;
 | 
|---|
 | 53 |       const element *carbon;
 | 
|---|
 | 54 |       std::vector<const element *> elements;
 | 
|---|
| [c4d4df] | 55 | 
 | 
|---|
 | 56 |       CorrelationToSurfaceMap *surfacemap;
 | 
|---|
 | 57 |       BinPairMap *binmap;
 | 
|---|
 | 58 |       Tesselation *Surface;
 | 
|---|
| [6bd7e0] | 59 |       LinkedCell_deprecated *LC;
 | 
|---|
| [c4d4df] | 60 | };
 | 
|---|
 | 61 | 
 | 
|---|
 | 62 | #endif /* ANALYSISCORRELATIONTOSURFACEUNITTEST_HPP_ */
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.