From 81f3fcc2c1c66c17fb9c7e7ed7f2e44dba9922df Mon Sep 17 00:00:00 2001 From: Max Lyon Date: Thu, 17 Oct 2019 09:20:06 +0200 Subject: [PATCH] add test to check if old api works with new api --- src/Unittests/unittests_smart_handles.cc | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/Unittests/unittests_smart_handles.cc b/src/Unittests/unittests_smart_handles.cc index 2979b327..3a098fc1 100644 --- a/src/Unittests/unittests_smart_handles.cc +++ b/src/Unittests/unittests_smart_handles.cc @@ -461,4 +461,16 @@ TEST_F(OpenMeshSmartHandles, Performance) } + +/* Mix old and new api + */ +TEST_F(OpenMeshSmartHandles, MixOldAndNew) +{ + for (auto heh : mesh_.halfedges()) + { + heh = mesh_.opposite_halfedge_handle(heh); + } +} + + }