test/heap_test.cc
changeset 1744 51d5d41e15b1
parent 1728 eb8bb91ba9e2
child 1845 f8bbfed86036
     1.1 --- a/test/heap_test.cc	Wed Oct 26 10:59:51 2005 +0000
     1.2 +++ b/test/heap_test.cc	Wed Oct 26 11:09:29 2005 +0000
     1.3 @@ -55,7 +55,10 @@
     1.4    
     1.5    std::ifstream input(f_name.c_str());
     1.6    check(input, "Input file '" << f_name << "' not found.");
     1.7 -  readGraph(input, graph, length, start);  
     1.8 +  GraphReader<Graph>(input, graph).
     1.9 +    readEdgeMap("length", length).
    1.10 +    readNode("source", start).
    1.11 +    run();  
    1.12   
    1.13    {
    1.14      std::cerr << "Checking Bin Heap" << std::endl;