mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-28 19:21:04 +00:00
Fix tests on windows
This commit is contained in:
parent
7e96e7f4a3
commit
a376d20c30
@ -44,7 +44,7 @@ namespace Misc
|
|||||||
TEST_P(MiscToEulerAnglesXZQuatTest, shouldReturnValueCloseTo)
|
TEST_P(MiscToEulerAnglesXZQuatTest, shouldReturnValueCloseTo)
|
||||||
{
|
{
|
||||||
const osg::Vec3f result = toEulerAnglesXZ(GetParam().first);
|
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;
|
<< "toEulerAnglesXZ(" << GetParam().first << ") = " << result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user