COIN-OR::LEMON - Graph Library

Changeset 740:819ca5b50de0 in lemon-1.2 for test/graph_test.cc


Ignore:
Timestamp:
09/29/09 10:21:51 (15 years ago)
Author:
Peter Kovacs <kpeter@…>
Branch:
default
Phase:
public
Message:

Add a warning for List(Di)Graph::Snapshot (#311)
and extend tests for snapshots

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/graph_test.cc

    r737 r740  
    260260
    261261  snapshot.restore();
     262  snapshot.save(G);
     263
     264  checkGraphNodeList(G, 4);
     265  checkGraphEdgeList(G, 3);
     266  checkGraphArcList(G, 6);
     267 
     268  G.addEdge(G.addNode(), G.addNode());
     269
     270  snapshot.restore();
    262271
    263272  checkGraphNodeList(G, 4);
Note: See TracChangeset for help on using the changeset viewer.