@Test
public void testSetBit() {

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