@Test
public void testRemove() {

    TimestampSet set = new TimestampSet();
    double t = 1.0;
    set.add(t);
    Assert.assertTrue(set.remove(t));
    Assert.assertTrue(set.isEmpty());
    Assert.assertFalse(set.contains(t));
}