@Test
public void testClear() {

    SequenceSet set = new SequenceSet();
    set.clear();
    assertTrue(set.isEmpty());
    set.add(1);
    assertFalse(set.isEmpty());
    set.clear();
    assertTrue(set.isEmpty());
}