drop aliases for Indices entries

using Indices directly more clearly shows where the data comes
from without having to hop through hoops to do so.
This commit is contained in:
Arne Morten Kvarving
2021-09-06 12:47:21 +02:00
parent 87b618e93a
commit 2b1ac22c99
7 changed files with 67 additions and 93 deletions

View File

@@ -177,7 +177,7 @@ BOOST_AUTO_TEST_CASE(TestBehavoir) {
const auto& well = wells[0];
BOOST_CHECK_EQUAL(well->name(), "PROD1");
BOOST_CHECK(well->isProducer());
BOOST_CHECK(well->numEq == 3);
BOOST_CHECK(StandardWell::Indices::numEq == 3);
BOOST_CHECK(well->numStaticWellEq== 4);
}
@@ -186,7 +186,7 @@ BOOST_AUTO_TEST_CASE(TestBehavoir) {
const auto& well = wells[1];
BOOST_CHECK_EQUAL(well->name(), "INJE1");
BOOST_CHECK(well->isInjector());
BOOST_CHECK(well->numEq == 3);
BOOST_CHECK(StandardWell::Indices::numEq == 3);
BOOST_CHECK(well->numStaticWellEq== 4);
}
}