@Test public void increaseDimensionDoesNotChangeOriginalDimension() { Dimension originalDimension = new Dimension(0, 0); Geometry.increase(9, originalDimension); assertEquals(0, originalDimension.width); assertEquals(0, originalDimension.height); }
public static Dimension increase(int amount, Dimension dimension) { return new Dimension(dimension.width + amount, dimension.height + amount); }
Geometry { public static Dimension increase(int amount, Dimension dimension) { return new Dimension(dimension.width + amount, dimension.height + amount); } }
Geometry { public static Dimension increase(int amount, Dimension dimension) { return new Dimension(dimension.width + amount, dimension.height + amount); }  }
Geometry { public static Dimension increase(int amount, Dimension dimension) { return new Dimension(dimension.width + amount, dimension.height + amount); }  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); }
Geometry { public static Dimension increase(int amount, Dimension dimension) { return new Dimension(dimension.width + amount, dimension.height + amount); }  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);  }