Changeset 763:93cd93e82f9b in lemon-main
- Timestamp:
 - 08/07/09 14:52:40 (16 years ago)
 - Branch:
 - default
 - Phase:
 - public
 - Files:
 - 
          
- 1 added
 - 4 edited
 
- 
          lemon/min_mean_cycle.h (modified) (1 diff)
 - 
          test/CMakeLists.txt (modified) (1 diff)
 - 
          test/Makefile.am (modified) (2 diffs)
 - 
          test/min_mean_cycle_test.cc (added)
 - 
          test/test_tools.h (modified) (1 diff)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
        
lemon/min_mean_cycle.h
r762 r763 26 26 27 27 #include <vector> 28 #include <limits> 28 29 #include <lemon/core.h> 29 30 #include <lemon/path.h>  - 
        
test/CMakeLists.txt
r679 r763 32 32 min_cost_arborescence_test 33 33 min_cost_flow_test 34 min_mean_cycle_test 34 35 path_test 35 36 preflow_test  - 
        
test/Makefile.am
r649 r763 30 30 test/min_cost_arborescence_test \ 31 31 test/min_cost_flow_test \ 32 test/min_mean_cycle_test \ 32 33 test/path_test \ 33 34 test/preflow_test \ … … 77 78 test_min_cost_arborescence_test_SOURCES = test/min_cost_arborescence_test.cc 78 79 test_min_cost_flow_test_SOURCES = test/min_cost_flow_test.cc 80 test_min_mean_cycle_test_SOURCES = test/min_mean_cycle_test.cc 79 81 test_path_test_SOURCES = test/path_test.cc 80 82 test_preflow_test_SOURCES = test/preflow_test.cc  - 
        
test/test_tools.h
r440 r763 38 38 ///print something like this (and then exits). 39 39 ///\verbatim file_name.cc:123: error: This is obviously false. \endverbatim 40 #define check(rc, msg) \ 41 if(!(rc)) { \ 42 std::cerr << __FILE__ ":" << __LINE__ << ": error: " << msg << std::endl; \ 43 abort(); \ 44 } else { } \ 40 #define check(rc, msg) \ 41 { \ 42 if(!(rc)) { \ 43 std::cerr << __FILE__ ":" << __LINE__ << ": error: " \ 44 << msg << std::endl; \ 45 abort(); \ 46 } else { } \ 47 } \ 48 45 49 46 50 #endif  
Note: See TracChangeset
          for help on using the changeset viewer.
      
