Load WLIST from restart file

This commit is contained in:
Joakim Hove
2021-10-14 21:00:56 +02:00
parent 0f0dcea773
commit 091ec36c28
10 changed files with 67 additions and 9 deletions

View File

@@ -228,6 +228,16 @@ BOOST_AUTO_TEST_CASE(LoadUDQRestartSim0) {
BOOST_CHECK_THROW( group.injectionProperties(Phase::WATER), std::exception );
}
BOOST_AUTO_TEST_CASE(LoadWLISTRestartSim) {
const auto& [sched, restart_sched, _] = load_schedule_pair("ACTIONX_M1.DATA", "ACTIONX_M1_RESTART.DATA", "ACTIONX_M1.X0010", 10);
(void)_;
std::size_t report_step = 12;
const auto& wlm = sched[report_step].wlist_manager();
const auto& rst_wlm = restart_sched[report_step].wlist_manager();
BOOST_CHECK(wlm == rst_wlm);
}
BOOST_AUTO_TEST_CASE(TestFileDeck)