Skip to content

Commit

Permalink
Fixed bloom_filter_bitwise test (issue mavam#12)
Browse files Browse the repository at this point in the history
In a bitwise bloom filter test, the test passed with an additional hash function at the first level.
  • Loading branch information
edenzik authored Oct 26, 2016
1 parent 664a639 commit 1e713a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ TEST(bloom_filter_spectral_rm) {
}

TEST(bloom_filter_bitwise) {
bitwise_bloom_filter bf(3, 8);
bitwise_bloom_filter bf(4, 8);
CHECK_EQUAL(bf.lookup("foo"), 0u);
bf.add("foo");
CHECK_EQUAL(bf.lookup("foo"), 1u);
Expand Down

0 comments on commit 1e713a7

Please sign in to comment.