COIN-OR::LEMON - Graph Library

Changeset 790:2b9a43c0d64e in lemon-0.x


Ignore:
Timestamp:
09/02/04 19:11:04 (16 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1083
Message:
  • 'minlengpaths_test.cc' added.
  • Path tests in 'minlengpaths_test.cc' are swithced out.
Location:
src/test
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/test/Makefile.am

    r789 r790  
    33noinst_HEADERS = test_tools.h
    44
    5 check_PROGRAMS = graph_test dijkstra_test bfs_test dfs_test time_measure_test \
    6         error_test xy_test \
    7         unionfind_test test_tools_pass test_tools_fail \
    8         mincostflows_test
     5check_PROGRAMS = test_tools_pass test_tools_fail \
     6        graph_test \
     7        dijkstra_test bfs_test dfs_test \
     8        minlengthpaths_test mincostflows_test \
     9        unionfind_test xy_test \
     10        time_measure_test \
     11        error_test
     12
    913
    1014TESTS = $(check_PROGRAMS)
    1115XFAIL_TESTS = test_tools_fail
    1216
    13 graph_test_SOURCES = graph_test.cc
    14 dijkstra_test_SOURCES = dijkstra_test.cc
    1517bfs_test_SOURCES = bfs_test.cc
    1618dfs_test_SOURCES = dfs_test.cc
     19dijkstra_test_SOURCES = dijkstra_test.cc
     20error_test_SOURCES = error_test.cc
     21graph_test_SOURCES = graph_test.cc
     22mincostflows_test_SOURCES = mincostflows_test.cc
     23minlengthpaths_test_SOURCES = minlengthpaths_test.cc
     24time_measure_test_SOURCES = time_measure_test.cc
     25test_tools_fail_SOURCES = test_tools_fail.cc
     26test_tools_pass_SOURCES = test_tools_pass.cc
    1727unionfind_test_SOURCES = unionfind_test.cc
    18 time_measure_test_SOURCES = time_measure_test.cc
    19 error_test_SOURCES = error_test.cc
    2028xy_test_SOURCES = xy_test.cc
    21 test_tools_pass_SOURCES = test_tools_pass.cc
    22 test_tools_fail_SOURCES = test_tools_fail.cc
    23 mincostflows_test_SOURCES = mincostflows_test.cc
    2429
  • src/test/minlengthpaths_test.cc

    r611 r790  
    22#include <hugo/list_graph.h>
    33#include <hugo/minlengthpaths.h>
    4 #include <path.h>
     4//#include <path.h>
    55#include "test_tools.h"
    66
     
    6363  check(  surb_test.checkComplementarySlackness(), "Complementary slackness conditions are not met.");
    6464
    65   typedef DirPath<ListGraph> DPath;
    66   DPath P(graph);
     65  //  typedef DirPath<ListGraph> DPath;
     66  //  DPath P(graph);
    6767
    6868  /*
     
    8080  check(  surb_test.checkComplementarySlackness(), "Complementary slackness conditions are not met.");
    8181 
    82   surb_test.getPath(P,0);
    83   check(P.length() == 4, "First path should contain 4 edges."); 
     82  //  surb_test.getPath(P,0);
     83  //  check(P.length() == 4, "First path should contain 4 edges."); 
    8484
    8585  cout << (passed ? "All tests passed." : "Some of the tests failed!!!")
Note: See TracChangeset for help on using the changeset viewer.