Closed cloudwu closed 6 years ago
I would usually have had the EXPECT_FLOAT.. inside the scope, to make it clear it's one test case. You can also declare ozz::math::Float4x4 output[6] in that scope.
Also, have you seen there's a warning in appveyor build: https://ci.appveyor.com/project/guillaumeblanc/ozz-animation/build/469/job/52dkwy1t11mtbnyq
C:\projects\ozz-animation\test\animation\runtime\local_to_model_job_tests.cc(160): warning C4456: declaration of 'root' hides previous local declaration
ok, I'll fix it. btw, I use mingw to build it, and gcc has different warnings from vc .
I put these into the scope. And mingw/gcc reports some other warnings for unit test. I create another pr to fix.
Thanks for this great addition.
I update the pr, Is it ok now ? Or should I move the
EXPECT_FLOAT4x4_EQ
into the scope ?