mirror of https://github.com/ArduPilot/ardupilot
Filter: add trivial test for ModeFilter get method (float version)
This commit is contained in:
parent
c3bd6d6014
commit
666c36a57f
|
@ -90,6 +90,8 @@ TEST(ModeFilterTest, Float_Size5)
|
|||
EXPECT_FLOAT_EQ(4, filtf_fail.apply(6));
|
||||
EXPECT_FLOAT_EQ(4, filtf_fail.apply(7));
|
||||
EXPECT_FLOAT_EQ(5, filtf_fail.apply(8));
|
||||
|
||||
EXPECT_FLOAT_EQ(5, filtf_fail.get());
|
||||
}
|
||||
|
||||
AP_GTEST_MAIN()
|
||||
|
|
Loading…
Reference in New Issue