inline static bool testRotation(const Rotation& expected, const Rotation& actual) { // Implement EXPECT_NEAR(expected, actual, 1.0e-6); return expected.isNear(actual, 1.0e-3); }