test/preflow_test.cc
changeset 2108 f2c532541730
parent 1956 a055123339d5
child 2111 ea1fa1bc3f6d
equal deleted inserted replaced
2:01c058f099c4 3:063e05cecc09
    89 
    89 
    90   std::string f_name;
    90   std::string f_name;
    91   if( getenv("srcdir") )
    91   if( getenv("srcdir") )
    92     f_name = std::string(getenv("srcdir"));
    92     f_name = std::string(getenv("srcdir"));
    93   else f_name = ".";
    93   else f_name = ".";
    94   f_name += "/preflow_graph.dim";
    94   f_name += "/test/preflow_graph.dim";
    95   
    95   
    96   std::ifstream file(f_name.c_str());
    96   std::ifstream file(f_name.c_str());
    97   
    97   
    98   check(file, "Input file '" << f_name << "' not found.");
    98   check(file, "Input file '" << f_name << "' not found.");
    99   
    99