Filter: add trivial test that ModeFilter's get method works

.... previously only checking return value of apply
This commit is contained in:
Peter Barker 2022-02-18 09:41:56 +11:00 committed by Peter Barker
parent 0a8cccd79a
commit f6a1df472a

View File

@ -45,6 +45,8 @@ TEST(ModeFilterTest, Int16_Size5)
EXPECT_EQ(4, filtf_fail.apply(6)); EXPECT_EQ(4, filtf_fail.apply(6));
EXPECT_EQ(4, filtf_fail.apply(7)); EXPECT_EQ(4, filtf_fail.apply(7));
EXPECT_EQ(5, filtf_fail.apply(8)); EXPECT_EQ(5, filtf_fail.apply(8));
EXPECT_EQ(5, filtf_fail.get());
} }
TEST(ModeFilterTest, Float_Size5) TEST(ModeFilterTest, Float_Size5)