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
62e822cf
Commit
62e822cf
authored
Oct 23, 2018
by
Max Lyon
Browse files
change test file version from 10 to 7 because 7 is the biggest supported major version
parent
12f3e09d
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/Unittests/TestFiles/cube_tri_version_
10
_5.om
→
src/Unittests/TestFiles/cube_tri_version_
7
_5.om
View file @
62e822cf
No preview for this file type
src/Unittests/unittests_read_write_OM.cc
View file @
62e822cf
...
...
@@ -72,7 +72,7 @@ TEST_F(OpenMeshReadWriteOM, LoadSimpleOMWithTexCoords) {
bool
ok
=
OpenMesh
::
IO
::
read_mesh
(
mesh_
,
"cube-minimal-texCoords.om"
,
options
);
EXPEC
T_TRUE
(
ok
)
<<
"Unable to load cube-minimal-texCoords.om"
;
ASSER
T_TRUE
(
ok
)
<<
"Unable to load cube-minimal-texCoords.om"
;
EXPECT_EQ
(
8u
,
mesh_
.
n_vertices
())
<<
"The number of loaded vertices is not correct!"
;
EXPECT_EQ
(
18u
,
mesh_
.
n_edges
())
<<
"The number of loaded edges is not correct!"
;
...
...
@@ -1408,13 +1408,13 @@ TEST_F(OpenMeshReadWriteOM, LoadPolyMeshVersion_2_0) {
/*
*
Just load a triangles
mesh from
an
om file
of
version
10.5
*
Try to load
mesh from om file
with a
version
that is not yet supported
*/
TEST_F
(
OpenMeshReadWriteOM
,
LoadTriMeshVersion_
10
_5
)
{
TEST_F
(
OpenMeshReadWriteOM
,
LoadTriMeshVersion_
7
_5
)
{
PolyMesh
mesh
;
std
::
string
file_name
=
"cube_tri_version_
10_
.om"
;
std
::
string
file_name
=
"cube_tri_version_
7_5
.om"
;
bool
ok
=
OpenMesh
::
IO
::
read_mesh
(
mesh
,
file_name
);
...
...
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