### Question:
IntSet { public boolean remove(int value) { return indexer.remove(value) >= 0; } IntSet(int capacity);  IntSet(int[] values); int size(); boolean isEmpty(); boolean contains(int value); void add(int value); boolean remove(int value); void clear(); int[] getValues();  }### Answer:
@Test public void testRemove() { IntSet set = new IntSet(new int[] {5,6,7,3}); assertEquals(4, set.size()); set.remove(6); assertTrue(!set.contains(1)); assertTrue(!set.contains(2)); assertTrue( set.contains(3)); assertTrue(!set.contains(4)); assertTrue( set.contains(5)); assertTrue(!set.contains(6)); assertTrue( set.contains(7)); assertTrue(!set.contains(8)); }