@Test
public void testClear() {

    System.out.println("clear");
    BloomFilter instance = new BloomFilter(1000, 100);
    for (int i = 0; i < instance.size(); i++)
        instance.setBit(i, true);
    instance.clear();
    for (int i = 0; i < instance.size(); i++)
        assertSame(instance.getBit(i), false);
}