package lab02;

class Tester {

	public static void main(String[] args) {

		Rectangle rect = new Rectangle ( new Point(20,30) , 20,40 );
		System.out.println("Created " + rect);

		rect.grow(1.25);
		System.out.println("Grown by 25%, thats: " + rect);

		Point pq = new Point(40,65);
		System.out.println("This rectangle " + ( rect.contains(pq) ? "does" : "does not" ) + " contain point " + pq);
		pq.move(20,30);
		System.out.println("This rectangle " + ( rect.contains(pq) ? "does" : "does not" ) + " contain point " + pq);
	}
}