diff --git a/test/preflow_test.cc b/test/preflow_test.cc --- a/test/preflow_test.cc +++ b/test/preflow_test.cc @@ -25,10 +25,11 @@ #include #include #include +#include using namespace lemon; -void checkPreflow() +void checkPreflowCompile() { typedef int VType; typedef concepts::Digraph Digraph; @@ -39,6 +40,9 @@ typedef concepts::ReadWriteMap FlowMap; typedef concepts::WriteMap CutMap; + typedef Elevator Elev; + typedef LinkedElevator LinkedElev; + Digraph g; Node n; Arc e; @@ -46,7 +50,11 @@ FlowMap flow; CutMap cut; - Preflow::SetFlowMap::Create preflow_test(g,cap,n,n); + Preflow + ::SetFlowMap + ::SetElevator + ::SetStandardElevator + ::Create preflow_test(g,cap,n,n); preflow_test.capacityMap(cap); flow = preflow_test.flowMap();