From a8d275123aa2cc2d13e6b9fe047db6756ad5cfc1 Mon Sep 17 00:00:00 2001 From: Max Lyon Date: Tue, 13 Oct 2020 16:46:51 +0200 Subject: [PATCH] add unittest to check if mesh property initialization works --- src/Unittests/unittests_propertymanager.cc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Unittests/unittests_propertymanager.cc b/src/Unittests/unittests_propertymanager.cc index 87c92b95..d620f3ec 100644 --- a/src/Unittests/unittests_propertymanager.cc +++ b/src/Unittests/unittests_propertymanager.cc @@ -870,5 +870,12 @@ TEST_F(OpenMeshPropertyManager, return_property_from_function) { } +TEST_F(OpenMeshPropertyManager, mesh_property_initialization) { + + OpenMesh::MProp mesh_id(13, mesh_); + ASSERT_EQ(mesh_id(), 13); +} + + }