test/heap_test.cc
changeset 2248 1ac928089d68
parent 2038 33db14058543
child 2260 4274224f8a7d
equal deleted inserted replaced
5:9cc470c0a580 6:0e550c507d5c
    65 
    65 
    66   std::string f_name;
    66   std::string f_name;
    67   if( getenv("srcdir") )
    67   if( getenv("srcdir") )
    68     f_name = std::string(getenv("srcdir"));
    68     f_name = std::string(getenv("srcdir"));
    69   else f_name = ".";
    69   else f_name = ".";
    70   f_name += "/dijkstra_test.lgf";
    70   f_name += "/test/dijkstra_test.lgf";
    71   
    71   
    72   std::ifstream input(f_name.c_str());
    72   std::ifstream input(f_name.c_str());
    73   check(input, "Input file '" << f_name << "' not found.");
    73   check(input, "Input file '" << f_name << "' not found.");
    74   GraphReader<Graph>(input, graph).
    74   GraphReader<Graph>(input, graph).
    75     readEdgeMap("capacity", length).
    75     readEdgeMap("capacity", length).