Started to add skeleton load_rst function

This commit is contained in:
Joakim Hove
2020-01-30 11:08:20 +01:00
parent 5399c4f37f
commit 0b3f885b33
3 changed files with 15 additions and 3 deletions

View File

@@ -89,11 +89,14 @@ BOOST_AUTO_TEST_CASE(LoadRST) {
BOOST_AUTO_TEST_CASE(LoadRestartSim) {
Parser parser;
auto deck = parser.parseFile("SPE1CASE2.DATA");
EclipseState ecl_state(deck);
Schedule sched(deck, ecl_state);
auto restart_deck = parser.parseFile("SPE1CASE2_RESTART.DATA");
EclIO::ERst rst_file("SPE1CASE2.X0060");
auto rst_state = RestartIO::RstState::load(rst_file, 60);
EclipseState ecl_state_restart(restart_deck);
Schedule restart_sched(restart_deck, ecl_state_restart, &rst_state);
EclipseState ecl_state(deck);
Schedule sched(deck, ecl_state);
//Schedule restart_sched(deck, ecl_state, &rst_state);
// Verify that sched and restart_sched are identical from report_step 60 and onwords.
}