Test use of FieldPropsManager in WellConnections

This commit is contained in:
Joakim Hove
2019-11-21 11:44:06 +01:00
parent 8211007714
commit 198b208258
28 changed files with 289 additions and 149 deletions

View File

@@ -306,7 +306,7 @@ BOOST_AUTO_TEST_CASE( NorneRestartConfig ) {
Parser parser;
auto deck = parser.parseFile( path_prefix() + "IOConfig/RPTRST_DECK.DATA");
EclipseState state(deck);
Schedule schedule(deck, state.getInputGrid(), state.get3DProperties(), state.runspec());
Schedule schedule(deck, state);
verifyRestartConfig(schedule.getTimeMap(), state.cfg().restart(), rptConfig);
}
@@ -352,7 +352,7 @@ BOOST_AUTO_TEST_CASE( RestartConfig2 ) {
Parser parser;
auto deck = parser.parseFile(path_prefix() + "IOConfig/RPT_TEST2.DATA");
EclipseState state( deck);
Schedule schedule(deck, state.getInputGrid(), state.get3DProperties(), state.runspec());
Schedule schedule(deck, state);
const auto& rstConfig = state.cfg().restart();
verifyRestartConfig(schedule.getTimeMap(), state.cfg().restart(), rptConfig);