COIN-OR::LEMON - Graph Library

Changeset 740:819ca5b50de0 in lemon-main for test/digraph_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/digraph_test.cc

    r737 r740  
    287287
    288288  snapshot.restore();
     289  snapshot.save(G);
     290
     291  checkGraphNodeList(G, 4);
     292  checkGraphArcList(G, 4);
     293
     294  G.addArc(G.addNode(), G.addNode());
     295
     296  snapshot.restore();
    289297
    290298  checkGraphNodeList(G, 4);
Note: See TracChangeset for help on using the changeset viewer.