changing the counting of the schecule in SCHEDULE_WELLS2

basically, all the control keywords should be combined with the
TSTEP/DATES afterwards as a complete report step.
This commit is contained in:
Kai Bao
2018-02-14 09:09:27 +01:00
parent 3c8c65b65c
commit e76df698c6
2 changed files with 49 additions and 32 deletions

View File

@@ -141,6 +141,11 @@ BOOST_AUTO_TEST_CASE(WellTestOpen) {
auto well2 = sched.getWell( "W_2" );
auto well3 = sched.getWell( "W_3" );
{
auto wells = sched.getOpenWells( 0 );
BOOST_CHECK_EQUAL( 0U , wells.size() );
}
{
auto wells = sched.getOpenWells( 3 );
BOOST_CHECK_EQUAL( 1U , wells.size() );