Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenVolumeMesh
OpenVolumeMesh
Commits
172ca930
Commit
172ca930
authored
Feb 26, 2019
by
Martin Heistermann
Browse files
add test for handle default constructors
parent
2b0b6fe7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Unittests/unittests_basics.cc
View file @
172ca930
...
...
@@ -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
());
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment