Purged another warning in unit tests.

This commit is contained in:
Hans-Christian Ebke
2015-11-19 15:23:43 +01:00
parent 498e4d033f
commit 54d14e54c3

View File

@@ -115,6 +115,8 @@ TEST_F(OpenMeshVectorTest, cpp11_constructors) {
TEST_F(OpenMeshVectorTest, cpp11_htmlColorLiteral) {
static constexpr OpenMesh::Vec4f rose = 0xFFC7F1FF_htmlColor;
EXPECT_EQ(0xFFC7F1FF_htmlColor, rose);
const OpenMesh::Vec4f light_blue = 0x1FCFFFFF_htmlColor;
EXPECT_LE((OpenMesh::Vec4f(0.1215686274f, 0.8117647058f, 1.0f, 1.0f)
- light_blue).sqrnorm(), 1e-10);