fixing WCONHIST.

This commit is contained in:
Kai Bao
2018-01-05 20:04:52 +01:00
parent 531a531650
commit 35ecd2e37a
5 changed files with 62 additions and 106 deletions

View File

@@ -199,8 +199,8 @@ BOOST_AUTO_TEST_CASE(WellTesting) {
const WellProductionProperties& prop3 = well2->getProductionProperties(3);
BOOST_CHECK_EQUAL( WellProducer::ORAT , prop3.controlMode);
BOOST_CHECK( prop3.hasProductionControl(WellProducer::ORAT));
BOOST_CHECK( prop3.hasProductionControl(WellProducer::GRAT));
BOOST_CHECK( prop3.hasProductionControl(WellProducer::WRAT));
BOOST_CHECK( !prop3.hasProductionControl(WellProducer::GRAT));
BOOST_CHECK( !prop3.hasProductionControl(WellProducer::WRAT));
}
// BOOST_CHECK( !well2->getProductionProperties(8).hasProductionControl(WellProducer::GRAT));