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

Added test for abs function



git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@774 fdac6126-5c0c-442c-9429-916003d36597
parent 7540cfab
......@@ -56,6 +56,16 @@ TEST_F(OpenMeshVectorTest, ComputeTriangleSurfaceWithCrossProduct) {
}
/* Check OpenMesh Vector type abs function
*/
TEST_F(OpenMeshVectorTest, AbsTest) {
OpenMesh::Vec3d vec1(0.5,0.5,-0.5);
EXPECT_EQ( vec1.l8_norm() , 0.5f ) << "Wrong l8norm computation";
}
......
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