@Test
public void testIntersectsRectangleReturnsTrueForRectangleThatEntersBoundingBox() {

    PathDetail pathDetail = new PathDetail(Coord2D.ORIGIN, Colour.BLACK);
    pathDetail.lineTo(new Coord2D(1.5, 1.5));
    Assert.assertTrue(
            pathDetail.intersectsRectangle(new Coord2D(1, 1), new Coord2D(2, 2)));
}