Skip to content
Snippets Groups Projects
Commit 4028d689 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Add tests for SubItemValuePerItemVariant checkpointing

parent af903489
No related branches found
No related tags found
1 merge request!199Integrate checkpointing
......@@ -72,11 +72,15 @@ readSubItemValuePerItemVariant(const HighFive::Group& sub_item_value_per_item_va
readSubItemValuePerItem<TinyMatrix<3>, item_type, sub_item_type>(sub_item_value_per_item_variant_group,
"values", connectivity));
} else {
// LCOV_EXCL_START
throw UnexpectedError("unexpected discrete function data type: " + data_type);
// LCOV_EXCL_STOP
}
return p_sub_item_value_per_item_variant;
} else {
// LCOV_EXCL_START
throw UnexpectedError("item_type and sub_item_type must be different");
// LCOV_EXCL_STOP
}
}
......
......@@ -177,6 +177,7 @@ if(PUGS_HAS_HDF5)
test_checkpointing_IWriter.cpp
test_checkpointing_IZoneDescriptor.cpp
test_checkpointing_Mesh.cpp
test_checkpointing_SubItemValuePerItemVariant.cpp
test_checkpointing_Table.cpp
)
endif(PUGS_HAS_HDF5)
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment