mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-09-12 00:27:38 -04:00
LibraryTest.filterByMaxSize
This commit is contained in:
parent
95c354a5fa
commit
b9be742085
@ -496,6 +496,13 @@ TEST_F(LibraryTest, filterByCategory)
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TEST_F(LibraryTest, filterByMaxSize)
|
||||||
|
{
|
||||||
|
EXPECT_FILTER_RESULTS(kiwix::Filter().maxSize(200000),
|
||||||
|
"An example ZIM archive"
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
TEST_F(LibraryTest, filterByMultipleCriteria)
|
TEST_F(LibraryTest, filterByMultipleCriteria)
|
||||||
{
|
{
|
||||||
EXPECT_FILTER_RESULTS(kiwix::Filter().query("Wiki").creator("Wiki"),
|
EXPECT_FILTER_RESULTS(kiwix::Filter().query("Wiki").creator("Wiki"),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user