From 1e713a7438bf6b5ef18314f36684e021896bd67c Mon Sep 17 00:00:00 2001 From: Eden Zik Date: Tue, 25 Oct 2016 23:41:02 -0400 Subject: [PATCH] Fixed bloom_filter_bitwise test (issue #12) In a bitwise bloom filter test, the test passed with an additional hash function at the first level. --- test/tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/tests.cpp b/test/tests.cpp index 969b48b..991f9b0 100644 --- a/test/tests.cpp +++ b/test/tests.cpp @@ -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);