public void testConflictingIntervalLongs2() {
System.out.println("ConflictingIntervalLongs2");
// -22-
// 1133
IntervalLong e1 = newIntervalLong(0, 2);
instance.addInterval(e1);
IntervalLong e2 = newIntervalLong(1, 2);
instance.addInterval(e2);
IntervalLong e3 = newIntervalLong(2, 2);
instance.addInterval(e3);
assertEquals(2, instance.getMaxAssignments(e1));
assertEquals(0, instance.getOffset(e1));
assertEquals(2, instance.getMaxAssignments(e2));
assertEquals(1, instance.getOffset(e2));
assertEquals(2, instance.getMaxAssignments(e3));
assertEquals(0, instance.getOffset(e3));
// --44--
// -22---
// 113355
IntervalLong e4 = newIntervalLong(2, 2);
instance.addInterval(e4);
IntervalLong e5 = newIntervalLong(4, 2);
instance.addInterval(e5);
assertEquals(3, instance.getMaxAssignments(e1));
assertEquals(0, instance.getOffset(e1));