Candidate_v1.7.0
        stable
      
      
        
          | Last change
 on this file since bcc29ca was             c4afdf3, checked in by Frederik Heber <frederik.heber@…>, 4 years ago | 
        
          | 
Extended BindingModel by comparators.
 this allows placing them in sorted STL containers.
TEST: Added unit test.
 | 
        
          | 
              
Property                 mode
 set to                 100644 | 
        
          | File size:
            765 bytes | 
      
      
| Line |  | 
|---|
| 1 | /* | 
|---|
| 2 | * BindingModelUnitTest.hpp | 
|---|
| 3 | * | 
|---|
| 4 | *  Created on: May 14, 2021 | 
|---|
| 5 | *      Author: heber | 
|---|
| 6 | */ | 
|---|
| 7 |  | 
|---|
| 8 | #ifndef BINDINGMODELUNITTEST_HPP_ | 
|---|
| 9 | #define BINDINGMODELUNITTEST_HPP_ | 
|---|
| 10 |  | 
|---|
| 11 | // include config.h | 
|---|
| 12 | #ifdef HAVE_CONFIG_H | 
|---|
| 13 | #include <config.h> | 
|---|
| 14 | #endif | 
|---|
| 15 |  | 
|---|
| 16 | #include "Fragmentation/Homology/HomologyGraph.hpp" | 
|---|
| 17 |  | 
|---|
| 18 | #include <cppunit/extensions/HelperMacros.h> | 
|---|
| 19 |  | 
|---|
| 20 | /********************************************** Test classes **************************************/ | 
|---|
| 21 |  | 
|---|
| 22 | class BindingModelTest : public CppUnit::TestFixture | 
|---|
| 23 | { | 
|---|
| 24 | CPPUNIT_TEST_SUITE( BindingModelTest) ; | 
|---|
| 25 | CPPUNIT_TEST ( comparatorTest ); | 
|---|
| 26 | CPPUNIT_TEST_SUITE_END(); | 
|---|
| 27 |  | 
|---|
| 28 | public: | 
|---|
| 29 | void setUp(); | 
|---|
| 30 | void tearDown(); | 
|---|
| 31 | void comparatorTest(); | 
|---|
| 32 |  | 
|---|
| 33 | private: | 
|---|
| 34 | HomologyGraph::edges_t edges; | 
|---|
| 35 | }; | 
|---|
| 36 |  | 
|---|
| 37 | #endif /* BINDINGMODELUNITTEST_HPP_ */ | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.