1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-28 13:09:42 +00:00

Fix tests on windows

This commit is contained in:
elsid 2024-08-09 16:57:59 +02:00
parent 7e96e7f4a3
commit a376d20c30
No known key found for this signature in database
GPG key ID: 4DE04C198CBA7625

View file

@ -44,7 +44,7 @@ namespace Misc
TEST_P(MiscToEulerAnglesXZQuatTest, shouldReturnValueCloseTo)
{
const osg::Vec3f result = toEulerAnglesXZ(GetParam().first);
EXPECT_THAT(result, Vec3fEq(GetParam().second, std::numeric_limits<float>::epsilon()))
EXPECT_THAT(result, Vec3fEq(GetParam().second, 1e-6))
<< "toEulerAnglesXZ(" << GetParam().first << ") = " << result;
}