@Test
public void testGetK() {

    // Numbers are from http://pages.cs.wisc.edu/~cao/papers/summary-cache/node8.html
    System.out.println("testGetK");
    BloomFilterAlt instance = null;
    instance = new BloomFilterAlt(2, 1);
    assertEquals(1, instance.getK());
    instance = new BloomFilterAlt(3, 1);
    assertEquals(2, instance.getK());
    instance = new BloomFilterAlt(4, 1);
    assertEquals(3, instance.getK());
    instance = new BloomFilterAlt(5, 1);
    assertEquals(3, instance.getK());
    instance = new BloomFilterAlt(6, 1);
    assertEquals(4, instance.getK());
    instance = new BloomFilterAlt(7, 1);
    assertEquals(5, instance.getK());
    instance = new BloomFilterAlt(8, 1);
    assertEquals(6, instance.getK());
    instance = new BloomFilterAlt(9, 1);
    assertEquals(6, instance.getK());
    instance = new BloomFilterAlt(10, 1);
    assertEquals(7, instance.getK());
    instance = new BloomFilterAlt(11, 1);
    assertEquals(8, instance.getK());
    instance = new BloomFilterAlt(12, 1);
    assertEquals(8, instance.getK());
}