| 
            Last change
 on this file since 23c605 was             691be4, checked in by Frederik Heber <heber@…>, 13 years ago           | 
        
        
          | 
             
FunctionArgument now contains charges, too, and rewrote Extractors accordingly. 
 
- gatherDistancesFromFragment is now what we mostly want: Returns exactly the
arguments in the way we specify.
 - PairPotential_AngleUnitTest now has gives additional types to potential's
cstor.
  
           | 
        
        
          
            
              - 
Property                 mode
 set to                 
100644
               
             
           | 
        
        
          | 
            File size:
            1.0 KB
           | 
        
      
      
| Rev | Line |   | 
|---|
| [ac868ee] | 1 | /*
 | 
|---|
 | 2 |  * ExtractorsUnitTest.hpp
 | 
|---|
 | 3 |  *
 | 
|---|
 | 4 |  *  Created on: Oct 16, 2012
 | 
|---|
 | 5 |  *      Author: heber
 | 
|---|
 | 6 |  */
 | 
|---|
 | 7 | 
 | 
|---|
 | 8 | #ifndef FUNCTIONARGUMENTUNITTEST_HPP_
 | 
|---|
 | 9 | #define FUNCTIONARGUMENTUNITTEST_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 | /********************************************** Test classes **************************************/
 | 
|---|
 | 20 | 
 | 
|---|
 | 21 | class ExtractorsTest : public CppUnit::TestFixture
 | 
|---|
 | 22 | {
 | 
|---|
 | 23 |     CPPUNIT_TEST_SUITE( ExtractorsTest) ;
 | 
|---|
 | 24 |     CPPUNIT_TEST ( gatherAllDistanceArgumentsTest );
 | 
|---|
 | 25 |     CPPUNIT_TEST ( reorderArgumentsByIncreasingDistanceTest );
 | 
|---|
| [691be4] | 26 |     CPPUNIT_TEST ( gatherPositionsFromFragmentTest );
 | 
|---|
 | 27 |     CPPUNIT_TEST ( gatherDistancesFromFragmentTest );
 | 
|---|
| [ac868ee] | 28 |     CPPUNIT_TEST_SUITE_END();
 | 
|---|
 | 29 | 
 | 
|---|
 | 30 | public:
 | 
|---|
 | 31 |       void setUp();
 | 
|---|
 | 32 |       void tearDown();
 | 
|---|
 | 33 |       void gatherAllDistanceArgumentsTest();
 | 
|---|
 | 34 |       void reorderArgumentsByIncreasingDistanceTest();
 | 
|---|
| [691be4] | 35 |       void gatherPositionsFromFragmentTest();
 | 
|---|
 | 36 |       void gatherDistancesFromFragmentTest();
 | 
|---|
| [ac868ee] | 37 | 
 | 
|---|
 | 38 | private:
 | 
|---|
 | 39 | };
 | 
|---|
 | 40 | 
 | 
|---|
 | 41 | #endif /* FUNCTIONARGUMENTUNITTEST_HPP_ */
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.