|
|
|
@ -69,6 +69,7 @@ TEST(VectorTest, Rotations)
@@ -69,6 +69,7 @@ TEST(VectorTest, Rotations)
|
|
|
|
|
TEST_ROTATION(ROTATION_ROLL_90_PITCH_68_YAW_293, -0.4066309f, -1.5839677f, -0.5706992f); |
|
|
|
|
TEST_ROTATION(ROTATION_PITCH_315, 0, 1, SQRT_2); |
|
|
|
|
TEST_ROTATION(ROTATION_ROLL_90_PITCH_315, 0, -1, SQRT_2); |
|
|
|
|
TEST_ROTATION(ROTATION_PITCH_7, 1.1144155f, 1, 0.87067682f); |
|
|
|
|
|
|
|
|
|
EXPECT_EQ(ROTATION_MAX, rotation_count) << "All rotations are expect to be tested"; |
|
|
|
|
} |
|
|
|
|