|
@@ -239,6 +239,18 @@ public class TestBloomFilters {
|
|
|
BloomFilterTestStrategy.FILTER_XOR_STRATEGY)).test();
|
|
|
}
|
|
|
|
|
|
+ @Test
|
|
|
+ public void testFiltersWithLargeVectorSize() {
|
|
|
+ int hashId = Hash.MURMUR_HASH;
|
|
|
+ Filter filter
|
|
|
+ = new BloomFilter(Integer.MAX_VALUE, hashFunctionNumber, hashId);
|
|
|
+ BloomFilterCommonTester.of(hashId, numInsertions)
|
|
|
+ .withFilterInstance(filter)
|
|
|
+ .withTestCases(ImmutableSet.of(
|
|
|
+ BloomFilterTestStrategy.WRITE_READ_STRATEGY
|
|
|
+ )).test();
|
|
|
+ }
|
|
|
+
|
|
|
@Test
|
|
|
public void testNot() {
|
|
|
BloomFilter bf = new BloomFilter(8, 1, Hash.JENKINS_HASH);
|