For a connection set with 0 connections is "OPEN"

This commit is contained in:
Joakim Hove
2019-03-22 13:38:21 +01:00
parent e452058b4e
commit 5b1065df45
2 changed files with 6 additions and 1 deletions

View File

@@ -59,8 +59,9 @@ inline std::ostream& operator<<( std::ostream& stream, const WellConnections& cs
BOOST_AUTO_TEST_CASE(CreateWellConnectionsOK) {
Opm::WellConnections completionSet;
Opm::WellConnections completionSet(1,1);
BOOST_CHECK_EQUAL( 0U , completionSet.size() );
BOOST_CHECK(!completionSet.allConnectionsShut());
}