COIN-OR::LEMON - Graph Library

Changeset 1215:81b4731f8a6b in lemon-0.x for src/test/preflow_test.cc


Ignore:
Timestamp:
03/16/05 08:50:20 (16 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1635
Message:
  • '.lgf' could be the standard 'lemon graph format' extension.
  • heap_test is fixed in order that 'make discheck' work.
  • heap_test now checks whether the input file exists.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/test/preflow_test.cc

    r1164 r1215  
    8787
    8888  std::string f_name;
    89   if( getenv("srcdir") ) {
    90     f_name = std::string(getenv("srcdir")) + "/preflow_graph.dim";
    91   }
    92   else {
    93     f_name = "preflow_graph.dim";
    94   }
     89  if( getenv("srcdir") )
     90    f_name = std::string(getenv("srcdir"));
     91  else f_name = ".";
     92  f_name += "/preflow_graph.dim";
    9593 
    9694  std::ifstream file(f_name.c_str());
Note: See TracChangeset for help on using the changeset viewer.