MCPcopy Create free account
hub / github.com/ERGO-Code/HiGHS / fileExists

Function fileExists

check/TestLpSolvers.cpp:423–426  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

421}
422
423bool fileExists(const std::string& file_name) {
424 std::ifstream infile(file_name);
425 return static_cast<bool>(infile.good());
426}
427
428TEST_CASE("highs-files-lp", "[highs_lp_solver]") {
429 const std::string test_name = Catch::getResultCapture().getCurrentTestName();

Callers 1

TestLpSolvers.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected