@Test
public void testCount() {

    System.out.println("count");
    int expResult = 100;
    BloomFilterAlt instance = new BloomFilterAlt(0.01, expResult);
    for (int i = 0; i < expResult; i++) {
        byte[] bytes = new byte[100];
        r.nextBytes(bytes);
        instance.add(bytes);
    }
    int result = instance.count();
    assertEquals(expResult, result);
    instance = new BloomFilterAlt(0.01, expResult);
    for (int i = 0; i < expResult; i++) {
        instance.add(UUID.randomUUID().toString());
    }
    result = instance.count();
    assertEquals(expResult, result);
}