@Test public void testClear() { ring.clear(); assertEquals(0, ring.getCurrentSize()); assertTrue(ring.isEmpty()); }
@Test public void testIsEmpty() { assertFalse(ring.isEmpty()); ring.clear(); assertTrue(ring.isEmpty()); }