AP_Math: add pitch-7 to rotation tests

This commit is contained in:
Peter Barker 2019-05-29 15:59:31 +10:00 committed by Andrew Tridgell
parent e2eda63d2c
commit e4de5a17d1
1 changed files with 1 additions and 0 deletions

View File

@ -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";
}