mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-13 17:32:03 -05:00
add mpi serialization for MULTREGTRecord
This commit is contained in:
1 parent
02ce13c800
commit
252f323fb6
3 files changed
+48
No files matched your search
@@ -2415,6 +2415,17 @@ BOOST_AUTO_TEST_CASE(WellBrineProperties)
|
||||
}
|
||||
|
||||
|
||||
BOOST_AUTO_TEST_CASE(MULTREGTRecord)
|
||||
{
|
||||
#ifdef HAVE_MPI
|
||||
Opm::MULTREGTRecord val1{1, 2, 3.0, 4, Opm::MULTREGT::ALL, "test"};
|
||||
auto val2 = PackUnpack(val1);
|
||||
BOOST_CHECK(std::get<1>(val2) == std::get<2>(val2));
|
||||
BOOST_CHECK(val1 == std::get<0>(val2));
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
bool init_unit_test_func()
|
||||
{
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user