@Test public void shouldBeZero() throws Exception { assertTrue(counter.isZero()); }
public boolean isZero() { for (byte b : state) { if (b != 0) { return false; } } return true; }
Counter { public boolean isZero() { for (byte b : state) { if (b != 0) { return false; } } return true; } }
Counter { public boolean isZero() { for (byte b : state) { if (b != 0) { return false; } } return true; } Counter(int bits); }
Counter { public boolean isZero() { for (byte b : state) { if (b != 0) { return false; } } return true; } Counter(int bits); void increment(); byte[] getState(); boolean isZero(); }
Counter { public boolean isZero() { for (byte b : state) { if (b != 0) { return false; } } return true; } Counter(int bits); void increment(); byte[] getState(); boolean isZero();  }