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
b794e7e6
Commit
b794e7e6
authored
Apr 09, 2019
by
Jan Möbius
Browse files
Fixed test result numbers
parent
3d6ca439
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Unittests/unittests_subdivider_uniform.cc
View file @
b794e7e6
...
...
@@ -353,8 +353,8 @@ TEST_F(OpenMeshSubdividerUniform_Triangle, Subdivider_Loop_delete_vertex) {
OpenMesh
::
Subdivider
::
Uniform
::
LoopT
<
Mesh
>
loop
;
// Check setup
EXPECT_EQ
(
9
u
,
mesh_
.
n_vertices
()
)
<<
"Wrong number of vertices"
;
EXPECT_EQ
(
8
u
,
mesh_
.
n_faces
()
)
<<
"Wrong number of faces"
;
EXPECT_EQ
(
8
u
,
mesh_
.
n_vertices
()
)
<<
"Wrong number of vertices"
;
EXPECT_EQ
(
6
u
,
mesh_
.
n_faces
()
)
<<
"Wrong number of faces"
;
// Execute 3 subdivision steps
loop
.
attach
(
mesh_
);
...
...
@@ -362,8 +362,8 @@ TEST_F(OpenMeshSubdividerUniform_Triangle, Subdivider_Loop_delete_vertex) {
loop
.
detach
();
// Check setup
EXPECT_EQ
(
121
u
,
mesh_
.
n_vertices
()
)
<<
"Wrong number of vertices after subdivision with loop"
;
EXPECT_EQ
(
216
u
,
mesh_
.
n_faces
()
)
<<
"Wrong number of faces after subdivision with loop"
;
EXPECT_EQ
(
225
u
,
mesh_
.
n_vertices
()
)
<<
"Wrong number of vertices after subdivision with loop"
;
EXPECT_EQ
(
384
u
,
mesh_
.
n_faces
()
)
<<
"Wrong number of faces after subdivision with loop"
;
}
...
...
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