Add data::GroupValues member to RestartValue

This commit is contained in:
Joakim Hove
2020-07-03 17:20:06 +02:00
parent 30a4f2b34b
commit b9b1e734cb
5 changed files with 19 additions and 12 deletions

View File

@@ -320,8 +320,9 @@ BOOST_AUTO_TEST_CASE(RestartKey)
BOOST_AUTO_TEST_CASE(RestartValue)
{
Opm::data::WellRates wells1;
Opm::data::GroupValues groups1;
wells1.insert({"test_well", getWell()});
Opm::RestartValue val1(getSolution(), wells1);
Opm::RestartValue val1(getSolution(), wells1, groups1);
auto val2 = PackUnpack(val1);
DO_CHECKS(RestartValue)
}