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 Mar 27, 2019
1 parent b61898a commit 8da3163
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
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 8da3163

Please sign in to comment.