String result = s.subtract(s2).toString();
assertEquals(expecting, result);
}
@Test public void testMembership() throws Exception {
IntervalSet s = IntervalSet.of(15,15);
s.add(50,60);
assertTrue(!s.contains(0));
assertTrue(!s.contains(20));
assertTrue(!s.contains(100));
assertTrue(s.contains(15));
assertTrue(s.contains(55));
assertTrue(s.contains(50));
assertTrue(s.contains(60));
}