@Test
public void testContains() {

    for (IntervalMap set : getAllInstances()) {
        Object[] defaultValues = getTestValues(set);
        Assert.assertFalse(set.contains(new Interval(1.0, 2.0)));
        set.put(new Interval(1.0, 2.0), defaultValues[0]);
        set.remove(new Interval(1.0, 2.0));
        Assert.assertFalse(set.contains(new Interval(1.0, 2.0)));
    }
}