test/graph_adaptor_test.cc
changeset 464 acfb0f24d178
parent 463 a2fd8b8d0b30
     1.1 --- a/test/graph_adaptor_test.cc	Mon Jan 12 07:52:48 2009 +0100
     1.2 +++ b/test/graph_adaptor_test.cc	Mon Jan 12 08:05:30 2009 +0100
     1.3 @@ -581,15 +581,15 @@
     1.4    ea = a2;
     1.5  }
     1.6  
     1.7 -void checkResidual() {
     1.8 +void checkResidualDigraph() {
     1.9    // Check concepts
    1.10 -  checkConcept<concepts::Digraph, Residual<concepts::Digraph> >();
    1.11 -  checkConcept<concepts::Digraph, Residual<ListDigraph> >();
    1.12 +  checkConcept<concepts::Digraph, ResidualDigraph<concepts::Digraph> >();
    1.13 +  checkConcept<concepts::Digraph, ResidualDigraph<ListDigraph> >();
    1.14  
    1.15    // Create a digraph and an adaptor
    1.16    typedef ListDigraph Digraph;
    1.17    typedef Digraph::ArcMap<int> IntArcMap;
    1.18 -  typedef Residual<Digraph, IntArcMap> Adaptor;
    1.19 +  typedef ResidualDigraph<Digraph, IntArcMap> Adaptor;
    1.20  
    1.21    Digraph digraph;
    1.22    IntArcMap capacity(digraph), flow(digraph);
    1.23 @@ -1470,7 +1470,7 @@
    1.24    checkFilterNodes1();
    1.25    checkFilterArcs();
    1.26    checkUndirector();
    1.27 -  checkResidual();
    1.28 +  checkResidualDigraph();
    1.29    checkSplitNodes();
    1.30  
    1.31    // Check the graph adaptors (using ListGraph)