### Question:
SequenceSet extends LinkedNodeList<Sequence> implements Iterable<Long> { public void add(Sequence value) { for(long i=value.first; i<value.last+1; i++) { add(i); } }  void add(Sequence value); boolean add(long value); boolean remove(long value); long removeFirst(); Sequence removeLastSequence(); Sequence removeFirstSequence(long count); List<Sequence> getMissing(long first, long last); List<Sequence> getReceived(); boolean contains(long value); boolean contains(int first, int last); Sequence get(int value); long rangeSize(); Iterator<Long> iterator();  }### Answer:
@Test public void testIsEmpty() { SequenceSet set = new SequenceSet(); assertTrue(set.isEmpty()); set.add(1); assertFalse(set.isEmpty()); }
@Test public void testClear() { SequenceSet set = new SequenceSet(); set.clear(); assertTrue(set.isEmpty()); set.add(1); assertFalse(set.isEmpty()); set.clear(); assertTrue(set.isEmpty()); }