@Test
public void testEquals() {

    // equal
    ShortPathPart part1 = new ShortPathPart(1, 4);
    ShortPathPart part2 = new ShortPathPart(1, 4);
    ShortPathPart part3 = new ShortPathPart(1, 4);
    // unequal
    ShortPathPart part4 = new ShortPathPart(2, 4);
    ShortPathPart part5 = new ShortPathPart(1, 5);
    Tests.testEquals(part1, part2, part3, part4, part5);
}