Filter: add trivial test that ModeFilter's get method works
.... previously only checking return value of apply
This commit is contained in:
parent
0a8cccd79a
commit
f6a1df472a
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user