Candidate_v1.7.0
        stable
      
      
        
          | 
            Last change
 on this file since 7a434f was             355af8, checked in by Frederik Heber <heber@…>, 13 years ago           | 
        
        
          | 
             
Argument_t now has two Comparators on indices or distance. 
 
- added unit test on class argument_t's comparators.
  
           | 
        
        
          
            
              - 
Property                 mode
 set to                 
100644
               
             
           | 
        
        
          | 
            File size:
            793 bytes
           | 
        
      
      
| Line |   | 
|---|
| 1 | /*
 | 
|---|
| 2 |  * FunctionArgumentUnitTest.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 FunctionArgumentTest : public CppUnit::TestFixture
 | 
|---|
| 22 | {
 | 
|---|
| 23 |     CPPUNIT_TEST_SUITE( FunctionArgumentTest) ;
 | 
|---|
| 24 |     CPPUNIT_TEST ( IndexComparatorTest );
 | 
|---|
| 25 |     CPPUNIT_TEST ( DistanceComparatorTest );
 | 
|---|
| 26 |     CPPUNIT_TEST_SUITE_END();
 | 
|---|
| 27 | 
 | 
|---|
| 28 | public:
 | 
|---|
| 29 |       void setUp();
 | 
|---|
| 30 |       void tearDown();
 | 
|---|
| 31 |       void IndexComparatorTest();
 | 
|---|
| 32 |       void DistanceComparatorTest();
 | 
|---|
| 33 | 
 | 
|---|
| 34 | private:
 | 
|---|
| 35 | };
 | 
|---|
| 36 | 
 | 
|---|
| 37 | #endif /* FUNCTIONARGUMENTUNITTEST_HPP_ */
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.