Isolating bug

Not writing demand section of input file should eliminate it
This commit is contained in:
michaeltryby
2019-04-22 12:47:52 -04:00
parent ca097a948b
commit c98a43e72c
3 changed files with 13 additions and 13 deletions

View File

@@ -78,13 +78,13 @@ BOOST_AUTO_TEST_CASE(test_save)
error = EN_open(ph_save, DATA_PATH_NET1, DATA_PATH_RPT, DATA_PATH_OUT);
BOOST_REQUIRE(error == 0);
// error = EN_saveinpfile(ph_save, "test_reopen.inp");
// BOOST_REQUIRE(error == 0);
error = EN_saveinpfile(ph_save, "test_reopen.inp");
BOOST_REQUIRE(error == 0);
// BOOST_CHECK(boost::filesystem::exists("test_reopen.inp") == true);
BOOST_CHECK(boost::filesystem::exists("test_reopen.inp") == true);
error = EN_close(ph_save);
BOOST_REQUIRE(error == 0);
error = EN_close(ph_save);
BOOST_REQUIRE(error == 0);
EN_deleteproject(&ph_save);
}