Commit 172ca930 authored by Martin Heistermann's avatar Martin Heistermann

add test for handle default constructors

parent 2b0b6fe7
......@@ -2021,3 +2021,19 @@ TEST_F(PolyhedralMeshBase, DeferredFastDelete) {
testDeferredDelete(mesh_);
}
TEST_F(PolyhedralMeshBase, HandleDefaultConstructors) {
VertexHandle vh;
ASSERT_FALSE(vh.is_valid());
EdgeHandle eh;
ASSERT_FALSE(eh.is_valid());
HalfEdgeHandle heh;
ASSERT_FALSE(heh.is_valid());
FaceHandle fh;
ASSERT_FALSE(fh.is_valid());
HalfFaceHandle hfh;
ASSERT_FALSE(hfh.is_valid());
CellHandle ch;
ASSERT_FALSE(ch.is_valid());
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment