Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: trueeyu <[email protected]>
  • Loading branch information
trueeyu committed Jan 3, 2025
1 parent 1274a32 commit 51a93d0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions be/test/exprs/runtime_filter_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ TEST_F(RuntimeBloomFilterTest, filter_zonemap_with_min_max) {
max = 10;
ASSERT_FALSE(rf->filter_zonemap_with_min_max(&min, &max));

min = 5;
max = 9;
ASSERT_TRUE(rf->filter_zonemap_with_min_max(&min, &max));

// < 10
rf = Int32RF::create_with_range<false>(&_pool, 10, false);
min = 10;
Expand All @@ -66,6 +70,10 @@ TEST_F(RuntimeBloomFilterTest, filter_zonemap_with_min_max) {
min = 10;
max = 15;
ASSERT_FALSE(rf->filter_zonemap_with_min_max(&min, &max));

min = 11;
max = 15;
ASSERT_TRUE(rf->filter_zonemap_with_min_max(&min, &max));
}

TEST_F(RuntimeBloomFilterTest, create_with_empty_range) {
Expand Down

0 comments on commit 51a93d0

Please sign in to comment.