mirror of
https://github.com/OpenMW/openmw.git
synced 2025-12-09 00:04:36 +00:00
Fix tests on windows
This commit is contained in:
parent
7e96e7f4a3
commit
a376d20c30
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue