Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
OpenMesh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenMesh
OpenMesh
Commits
e17b09f6
Commit
e17b09f6
authored
7 years ago
by
Max Lyon
Browse files
Options
Downloads
Patches
Plain Diff
fix usage of wrong split function in unit test
parent
dea88127
No related branches found
No related tags found
1 merge request
!156
Edge split copy face properties
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Unittests/unittests_split_edge_copy.cc
+4
-2
4 additions, 2 deletions
src/Unittests/unittests_split_edge_copy.cc
with
4 additions
and
2 deletions
src/Unittests/unittests_split_edge_copy.cc
+
4
−
2
View file @
e17b09f6
...
...
@@ -91,13 +91,15 @@ TEST_F(OpenMeshSplitEdgeCopyTriangleMesh, SplitEdgeCopyTriangleMesh) {
//set internal property
mesh_
.
status
(
eh
).
set_tagged
(
true
);
// split
fac
e with new vertex
mesh_
.
split_
edge_
copy
(
eh
,
vhandle
[
3
]);
// split
edg
e with new vertex
mesh_
.
split_copy
(
eh
,
vhandle
[
3
]);
// Check setup
Mesh
::
EdgeHandle
eh0
=
mesh_
.
edge_handle
(
mesh_
.
next_halfedge_handle
(
mesh_
.
halfedge_handle
(
eh
,
1
)
)
);
EXPECT_EQ
(
999
,
mesh_
.
property
(
eprop_int
,
eh0
))
<<
"Different Property value"
;
EXPECT_TRUE
(
mesh_
.
status
(
eh0
).
tagged
())
<<
"Different internal property value"
;
EXPECT_EQ
(
mesh_
.
valence
(
fh
),
3
)
<<
"Face of TriMesh has valence other than 3"
;
}
/* splits an edge that has a property in a poly mesh with split_edge_copy
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment