test/heap_test.cc
changeset 1909 2d806130e700
parent 1744 51d5d41e15b1
child 1956 a055123339d5
equal deleted inserted replaced
2:176299db7854 3:018cdc78dc0c
    54   f_name += "/dijkstra_test.lgf";
    54   f_name += "/dijkstra_test.lgf";
    55   
    55   
    56   std::ifstream input(f_name.c_str());
    56   std::ifstream input(f_name.c_str());
    57   check(input, "Input file '" << f_name << "' not found.");
    57   check(input, "Input file '" << f_name << "' not found.");
    58   GraphReader<Graph>(input, graph).
    58   GraphReader<Graph>(input, graph).
    59     readEdgeMap("length", length).
    59     readEdgeMap("capacity", length).
    60     readNode("source", start).
    60     readNode("source", start).
    61     run();  
    61     run();  
    62  
    62  
    63   {
    63   {
    64     std::cerr << "Checking Bin Heap" << std::endl;
    64     std::cerr << "Checking Bin Heap" << std::endl;