add unittest to check if mesh property initialization works

This commit is contained in:
Max Lyon
2020-10-13 16:46:51 +02:00
parent 776ee1e3ea
commit a8d275123a

View File

@@ -870,5 +870,12 @@ TEST_F(OpenMeshPropertyManager, return_property_from_function) {
}
TEST_F(OpenMeshPropertyManager, mesh_property_initialization) {
OpenMesh::MProp<int> mesh_id(13, mesh_);
ASSERT_EQ(mesh_id(), 13);
}
}