Filter: add trivial test for ModeFilter get method (float version)

This commit is contained in:
Peter Barker 2022-02-18 17:56:44 +11:00 committed by Peter Barker
parent c3bd6d6014
commit 666c36a57f
1 changed files with 2 additions and 0 deletions

View File

@ -90,6 +90,8 @@ TEST(ModeFilterTest, Float_Size5)
EXPECT_FLOAT_EQ(4, filtf_fail.apply(6)); EXPECT_FLOAT_EQ(4, filtf_fail.apply(6));
EXPECT_FLOAT_EQ(4, filtf_fail.apply(7)); EXPECT_FLOAT_EQ(4, filtf_fail.apply(7));
EXPECT_FLOAT_EQ(5, filtf_fail.apply(8)); EXPECT_FLOAT_EQ(5, filtf_fail.apply(8));
EXPECT_FLOAT_EQ(5, filtf_fail.get());
} }
AP_GTEST_MAIN() AP_GTEST_MAIN()