diff --git a/tests/test_hydqual.cpp b/tests/test_hydqual.cpp index 219a017..e80c3c8 100644 --- a/tests/test_hydqual.cpp +++ b/tests/test_hydqual.cpp @@ -132,7 +132,17 @@ BOOST_FIXTURE_TEST_CASE(test_progressive_step, FixtureOpenClose) } -// saveH +BOOST_FIXTURE_TEST_CASE(test_hydr_save, FixtureOpenClose) +{ + error = EN_solveH(ph); + BOOST_REQUIRE(error == 0); + + error = EN_saveH(ph); + BOOST_REQUIRE(error == 0); + + error = EN_report(ph); + BOOST_REQUIRE(error == 0); +} BOOST_FIXTURE_TEST_CASE(test_hydr_savefile, FixtureOpenClose) { @@ -158,4 +168,6 @@ BOOST_FIXTURE_TEST_CASE(test_hydr_usefile, FixtureOpenClose, * unit_test::depend BOOST_REQUIRE(error == 0); } + + BOOST_AUTO_TEST_SUITE_END()