| 
            Last change
 on this file since 3da643 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.2 KB
           | 
        
      
      
| Rev | Line |   | 
|---|
| [c4d4df] | 1 | /*
 | 
|---|
 | 2 |  * AnalysisCorrelationToPointUnitTest.hpp
 | 
|---|
 | 3 |  *
 | 
|---|
 | 4 |  *  Created on: Oct 13, 2009
 | 
|---|
 | 5 |  *      Author: heber
 | 
|---|
 | 6 |  */
 | 
|---|
 | 7 | 
 | 
|---|
 | 8 | #ifndef ANALYSISCORRELATIONTOPOINTUNITTEST_HPP_
 | 
|---|
 | 9 | #define ANALYSISCORRELATIONTOPOINTUNITTEST_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;
 | 
|---|
 | 21 | class MoleculeListClass;
 | 
|---|
| [c4d4df] | 22 | class Vector;
 | 
|---|
 | 23 | 
 | 
|---|
 | 24 | /********************************************** Test classes **************************************/
 | 
|---|
 | 25 | 
 | 
|---|
 | 26 | class AnalysisCorrelationToPointUnitTest : public CppUnit::TestFixture
 | 
|---|
 | 27 | {
 | 
|---|
 | 28 |     CPPUNIT_TEST_SUITE( AnalysisCorrelationToPointUnitTest ) ;
 | 
|---|
 | 29 |     CPPUNIT_TEST ( CorrelationToPointTest );
 | 
|---|
 | 30 |     CPPUNIT_TEST ( CorrelationToPointBinNoRangeTest );
 | 
|---|
 | 31 |     CPPUNIT_TEST ( CorrelationToPointBinRangeTest );
 | 
|---|
 | 32 |     CPPUNIT_TEST_SUITE_END();
 | 
|---|
 | 33 | 
 | 
|---|
 | 34 | public:
 | 
|---|
 | 35 |       void setUp();
 | 
|---|
 | 36 |       void tearDown();
 | 
|---|
 | 37 |       void CorrelationToPointTest();
 | 
|---|
 | 38 |       void CorrelationToPointBinNoRangeTest();
 | 
|---|
 | 39 |       void CorrelationToPointBinRangeTest();
 | 
|---|
 | 40 | 
 | 
|---|
 | 41 | private:
 | 
|---|
 | 42 | 
 | 
|---|
| [e65de8] | 43 |       std::vector<molecule *> allMolecules;
 | 
|---|
| [c4d4df] | 44 |       molecule *TestMolecule;
 | 
|---|
| [e5c0a1] | 45 |       const element *hydrogen;
 | 
|---|
| [c4d4df] | 46 | 
 | 
|---|
 | 47 |       CorrelationToPointMap *pointmap;
 | 
|---|
 | 48 |       BinPairMap *binmap;
 | 
|---|
 | 49 |       Vector *point;
 | 
|---|
 | 50 | };
 | 
|---|
 | 51 | 
 | 
|---|
 | 52 | #endif /* ANALYSISCORRELATIONTOPOINTUNITTEST_HPP_ */
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.