Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
OpenMesh
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
13
Issues
13
List
Boards
Labels
Service Desk
Milestones
Merge Requests
5
Merge Requests
5
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenMesh
OpenMesh
Commits
46c2bd0f
Commit
46c2bd0f
authored
Jan 15, 2019
by
Jan Möbius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test VectorType single param constructor
closes
#40
parent
4964f171
Pipeline
#8254
failed with stage
in 70 minutes and 23 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
src/Unittests/unittests_vector_type.cc
src/Unittests/unittests_vector_type.cc
+15
-0
No files found.
src/Unittests/unittests_vector_type.cc
View file @
46c2bd0f
...
...
@@ -397,4 +397,19 @@ TEST_F(OpenMeshVectorGCCBugTest, alignment_bug) {
}
TEST_F
(
OpenMeshVectorTest
,
Test_simple_0_constructor
)
{
// Create a test vector with zeroes from one parameter
OpenMesh
::
Vec3d
testVec
=
OpenMesh
::
Vec3d
(
0
);
EXPECT_EQ
(
0.0
f
,
testVec
[
0
])
<<
"Wrong Value after construction!"
;
EXPECT_EQ
(
0.0
f
,
testVec
[
1
])
<<
"Wrong Value after construction!"
;
EXPECT_EQ
(
0.0
f
,
testVec
[
2
])
<<
"Wrong Value after construction!"
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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