Commit 46c2bd0f authored by Jan Möbius's avatar Jan Möbius
Browse files

Test VectorType single param constructor

closes #40
parent 4964f171
......@@ -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.0f, testVec[0]) << "Wrong Value after construction!";
EXPECT_EQ(0.0f, testVec[1]) << "Wrong Value after construction!";
EXPECT_EQ(0.0f, testVec[2]) << "Wrong Value after construction!";
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment