Skip to content

Commit

Permalink
AttitudeControlTest: compare vectors, not every element
Browse files Browse the repository at this point in the history
  • Loading branch information
MaEtUgR committed May 9, 2019
1 parent f5f9563 commit 01e9b2c
Showing 1 changed file with 1 addition and 3 deletions.
Expand Up @@ -7,7 +7,5 @@ TEST(AttitudeControlTest, AllZeroCase)
{
AttitudeControl attitude_control;
matrix::Vector3f rate_setpoint = attitude_control.update(Quatf(), Quatf(), 0.f);
EXPECT_EQ(rate_setpoint(0), 0.f);
EXPECT_EQ(rate_setpoint(1), 0.f);
EXPECT_EQ(rate_setpoint(2), 0.f);
EXPECT_EQ(rate_setpoint, Vector3f());
}

0 comments on commit 01e9b2c

Please sign in to comment.