assertFalse(interval.contains(6));
}
@Test
public void testIntersects() throws Exception
{
Interval interval = new Interval(0,5,null);
Interval interval1 = new Interval(0, 10, null);
Interval interval2 = new Interval(5,10,null);
Interval interval3 = new Interval(0, 11, null);
Interval interval5 = new Interval(6,12,null);
assertTrue(interval.intersects(interval1));
assertTrue(interval.intersects(interval2));
assertTrue(interval.intersects(interval3));
assertFalse(interval.intersects(interval5));