Candidate_v1.6.1
        Candidate_v1.7.0
        stable
      
      
        
          | 
            Last change
 on this file since a844d8 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
           | 
        
      
      
| Line |   | 
|---|
| 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 | 
 | 
|---|
| 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 element;
 | 
|---|
| 20 | class LinkedCell_deprecated;
 | 
|---|
| 21 | class molecule;
 | 
|---|
| 22 | class periodentafel;
 | 
|---|
| 23 | class Tesselation;
 | 
|---|
| 24 | 
 | 
|---|
| 25 | /********************************************** Test classes **************************************/
 | 
|---|
| 26 | 
 | 
|---|
| 27 | class AnalysisCorrelationToSurfaceUnitTest : public CppUnit::TestFixture
 | 
|---|
| 28 | {
 | 
|---|
| 29 |     CPPUNIT_TEST_SUITE( AnalysisCorrelationToSurfaceUnitTest ) ;
 | 
|---|
| 30 |     CPPUNIT_TEST ( SurfaceTest );
 | 
|---|
| 31 |     CPPUNIT_TEST ( CorrelationToSurfaceTest );
 | 
|---|
| 32 |     CPPUNIT_TEST ( CorrelationToSurfaceHydrogenBinNoRangeTest );
 | 
|---|
| 33 |     CPPUNIT_TEST ( CorrelationToSurfaceHydrogenBinRangeTest );
 | 
|---|
| 34 |     CPPUNIT_TEST ( CorrelationToSurfaceCarbonBinNoRangeTest );
 | 
|---|
| 35 |     CPPUNIT_TEST ( CorrelationToSurfaceCarbonBinRangeTest );
 | 
|---|
| 36 |     CPPUNIT_TEST_SUITE_END();
 | 
|---|
| 37 | 
 | 
|---|
| 38 | public:
 | 
|---|
| 39 |       void setUp();
 | 
|---|
| 40 |       void tearDown();
 | 
|---|
| 41 |       void SurfaceTest();
 | 
|---|
| 42 |       void CorrelationToSurfaceTest();
 | 
|---|
| 43 |       void CorrelationToSurfaceHydrogenBinNoRangeTest();
 | 
|---|
| 44 |       void CorrelationToSurfaceHydrogenBinRangeTest();
 | 
|---|
| 45 |       void CorrelationToSurfaceCarbonBinNoRangeTest();
 | 
|---|
| 46 |       void CorrelationToSurfaceCarbonBinRangeTest();
 | 
|---|
| 47 | 
 | 
|---|
| 48 | private:
 | 
|---|
| 49 | 
 | 
|---|
| 50 |       std::vector<const molecule *> allMolecules;
 | 
|---|
| 51 |       molecule *TestSurfaceMolecule;
 | 
|---|
| 52 |       const element *hydrogen;
 | 
|---|
| 53 |       const element *carbon;
 | 
|---|
| 54 |       std::vector<const element *> elements;
 | 
|---|
| 55 | 
 | 
|---|
| 56 |       CorrelationToSurfaceMap *surfacemap;
 | 
|---|
| 57 |       BinPairMap *binmap;
 | 
|---|
| 58 |       Tesselation *Surface;
 | 
|---|
| 59 |       LinkedCell_deprecated *LC;
 | 
|---|
| 60 | };
 | 
|---|
| 61 | 
 | 
|---|
| 62 | #endif /* ANALYSISCORRELATIONTOSURFACEUNITTEST_HPP_ */
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.