From 13505a718ffbbd8a77d8a69cd60fec811f587458 Mon Sep 17 00:00:00 2001 From: Jose Luis Rivero Date: Thu, 28 Nov 2024 13:53:53 +0100 Subject: [PATCH] Do not use float for double check Signed-off-by: Jose Luis Rivero --- graphics/src/AssimpLoader_TEST.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphics/src/AssimpLoader_TEST.cc b/graphics/src/AssimpLoader_TEST.cc index f08f2fd2..778ec1e4 100644 --- a/graphics/src/AssimpLoader_TEST.cc +++ b/graphics/src/AssimpLoader_TEST.cc @@ -684,7 +684,7 @@ TEST_F(AssimpLoader, LoadGlTF2BoxTransmission) const common::MaterialPtr mat = mesh->MaterialByIndex(0u); ASSERT_TRUE(mat.get()); // transmission currently modeled as transparency - EXPECT_DOUBLE_EQ(0.1f, mat->Transparency()); + EXPECT_DOUBLE_EQ(0.1, mat->Transparency()); delete mesh; #endif }