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

Test VectorType single param constructor

closes #40
parent 4964f171
Pipeline #8254 failed with stage
in 70 minutes and 23 seconds
......@@ -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!";
}
}
Markdown is supported
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