COIN-OR::LEMON - Graph Library

Changeset 977:48962802d168 in lemon-0.x for src/test/graph_utils_test.h


Ignore:
Timestamp:
11/10/04 21:14:32 (15 years ago)
Author:
Mihaly Barasz
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1365
Message:
  • enable_if imported from BOOST
  • count{Nodes,Edges} implemented via graph tags
  • some #include bugs fixed
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/test/graph_utils_test.h

    r946 r977  
    3131    addPetersen(graph, num);
    3232    bidirGraph(graph);
    33     check(countNodes(graph) == 2*num, "Wrong node counter.");
    34     check(countEdges(graph) == 6*num, "Wrong edge counter.");   
     33    check(countNodes(graph) == 2*num, "Wrong node number.");
     34    check(countEdges(graph) == 6*num, "Wrong edge number.");   
    3535    for (typename Graph::NodeIt it(graph); it != INVALID; ++it) {
    36       check(countOutEdges(graph, it) == 3, "Wrong out degree counter.");
    37       check(countInEdges(graph, it) == 3, "Wrong in degree counter.");
     36      check(countOutEdges(graph, it) == 3, "Wrong out degree number.");
     37      check(countInEdges(graph, it) == 3, "Wrong in degree number.");
    3838    }
    3939  }
Note: See TracChangeset for help on using the changeset viewer.