package immutableShapes;

public class TestShapes {

	public static void main(String[] args) {

		// First, make a point for the ll of the rectangle
		Point p = new Point(5.5,7.0);

		// Then make a rectangle at that point
		Rectangle rect = new Rectangle(p,10,16);
		System.out.println("rect=" + rect);

		// Now make a circle
		Circle circ = new Circle(p,5.0);
		System.out.println("circ=" + circ);

		// Now, move the circle to the middle of the rectangle...
		circ=circ.move(5,8);
		System.out.println("moved circ=" + circ);
		System.out.println("rect=" + rect);
	}
}