### Question:
Geometry { public static Point offset(int amount, Point point) { return offset(new Point(amount, amount), point); }  static Dimension increase(int amount, Dimension dimension); static Point offset(int amount, Point point); static Point offset(Point offset, Point point); static Point opposite(Point point);  }### Answer:
@Test public void offset() { Point newPoint = Geometry.offset(3, new Point(1, 5)); assertEquals(4, newPoint.x); assertEquals(8, newPoint.y); }
@Test public void offsetDoesNotChangeOriginalPoint() { Point originalPoint = new Point(0, 0); Geometry.offset(11, originalPoint); assertEquals(0, originalPoint.x); assertEquals(0, originalPoint.y); }
@Test public void offsetPoint() { Point offset = new Point(9, 15); Point newPoint = Geometry.offset(offset, new Point(1, 5)); assertEquals(10, newPoint.x); assertEquals(20, newPoint.y); }
@Test public void offsetPointDoesNotChangeOriginalPoint() { Point originalPoint = new Point(0, 0); Geometry.offset(new Point(1, 2), originalPoint); assertEquals(0, originalPoint.x); assertEquals(0, originalPoint.y); }