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
OpenMesh
OpenMesh
Commits
6a2d1873
Commit
6a2d1873
authored
Oct 12, 2018
by
Max Lyon
Browse files
fix bugs in unittest
parent
f9b39f21
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Unittests/unittests_read_write_OM.cc
View file @
6a2d1873
...
...
@@ -735,7 +735,7 @@ TEST_F(OpenMeshReadWriteOM, WriteSplitTriangleStatusProperties) {
cmpMesh
.
request_halfedge_status
();
cmpMesh
.
request_face_status
();
ok
=
OpenMesh
::
IO
::
read_mesh
(
cmpMesh
,
filename
);
ok
=
OpenMesh
::
IO
::
read_mesh
(
cmpMesh
,
filename
,
options
);
EXPECT_TRUE
(
ok
)
<<
"Unable to read "
<<
filename
;
// compare
...
...
@@ -1059,7 +1059,7 @@ TEST_F(OpenMeshReadWriteOM, WriteReadStatusPropertyHalfedgeOnly) {
auto
vh2
=
mesh
.
add_vertex
(
Mesh
::
Point
(
0
,
1
,
0
));
mesh
.
add_face
(
vh0
,
vh1
,
vh2
);
mesh
.
request_edge_status
();
mesh
.
request_
half
edge_status
();
auto
heh0
=
OpenMesh
::
HalfedgeHandle
(
0
);
auto
heh1
=
OpenMesh
::
HalfedgeHandle
(
1
);
...
...
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