diff --git a/libraries/Filter/tests/test_modefilter.cpp b/libraries/Filter/tests/test_modefilter.cpp index 0e746ad93d..bdb5114b9c 100644 --- a/libraries/Filter/tests/test_modefilter.cpp +++ b/libraries/Filter/tests/test_modefilter.cpp @@ -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()