public void testItRaisesWhenReservingMoreRingBitsThanTotalBitCount() { try { fingerprinter.reserveRingBits(1025); fail(); } catch (IllegalStateException e) { } }
public void testItDoesntChangeFingerprintLengthAfterReservingRingBits() { fingerprinter.reserveRingBits(24); assertEquals(1024, fingerprinter.getFingerprintLength()); }