@Test
public void hashCodesOfUnequalIntervalsAreEqual() {

    DiscreteInterval i1 = new DiscreteInterval(1,6);
    DiscreteInterval i2 = new DiscreteInterval(2,3);
    assertFalse(i1.hashCode() == i2.hashCode());
}