@Test
public void testIntersectsNoRectangleContainsCornerOfAnother() {
Rectangle a = rectangle(10, 10, 50, 50);
Rectangle b = rectangle(28.0, 4.0, 34.0, 85.0);
assertTrue(a.intersects(b));
assertTrue(b.intersects(a));
}
@Test
public void testIntersectsOneRectangleContainsTheOther() {
Rectangle a = rectangle(10, 10, 50, 50);