COIN-OR::LEMON - Graph Library

Changeset 374:49d9a36b3b84 in lemon-main for test/graph_test.h


Ignore:
Timestamp:
11/07/08 12:15:16 (15 years ago)
Author:
Peter Kovacs <kpeter@…>
Branch:
default
Phase:
public
Message:

Extend test cases for graphs and digraphs (#172)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/graph_test.h

    r263 r374  
    115115    check(e==INVALID,"Wrong IncEdge list linking.");
    116116    check(countIncEdges(G,n)==cnt,"Wrong IncEdge number.");
     117  }
     118
     119  template <class Graph>
     120  void checkGraphIncEdgeArcLists(const Graph &G, typename Graph::Node n,
     121                                 int cnt)
     122  {
     123    checkGraphIncEdgeList(G, n, cnt);
     124    checkGraphOutArcList(G, n, cnt);
     125    checkGraphInArcList(G, n, cnt);
    117126  }
    118127
Note: See TracChangeset for help on using the changeset viewer.