diff --git a/opm/parser/eclipse/IntegrationTests/BoxTest.cpp b/opm/parser/eclipse/IntegrationTests/BoxTest.cpp index 074436545..273b6c52d 100644 --- a/opm/parser/eclipse/IntegrationTests/BoxTest.cpp +++ b/opm/parser/eclipse/IntegrationTests/BoxTest.cpp @@ -142,6 +142,7 @@ BOOST_AUTO_TEST_CASE( EQUAL ) { EclipseState state = makeState("testdata/integration_tests/BOX/BOXTEST1", parserLog); std::shared_ptr > pvtnum = state.getIntGridProperty("PVTNUM"); std::shared_ptr > eqlnum = state.getIntGridProperty("EQLNUM"); + std::shared_ptr > poro = state.getDoubleGridProperty("PORO"); size_t i,j,k; std::shared_ptr grid = state.getEclipseGrid(); @@ -151,6 +152,7 @@ BOOST_AUTO_TEST_CASE( EQUAL ) { BOOST_CHECK_EQUAL( pvtnum->iget(i,j,k) , k ); BOOST_CHECK_EQUAL( eqlnum->iget(i,j,k) , 77 + 2 * k ); + BOOST_CHECK_EQUAL( poro->iget(i,j,k) , 0.25 ); } } diff --git a/testdata/integration_tests/BOX/BOXTEST1 b/testdata/integration_tests/BOX/BOXTEST1 index 06cad6229..0716ab73c 100644 --- a/testdata/integration_tests/BOX/BOXTEST1 +++ b/testdata/integration_tests/BOX/BOXTEST1 @@ -21,6 +21,10 @@ MULTIPLY PERMZ 0.25 / / +EQUALS + PORO 0.25 / +/ + EDIT OIL