/* * TestRectangle.java *  * Version: *     $Id: * Revisions: *     $Log:  * *//** * A class that manages tests the Rectangle class * * @author     Cheryl Dugas * */public class TestRectangle {    /**       * The main program      *     * @param args command line arguments (ignored)     *     */	public static void main ( String args[] ) {	    Rectangle rect1 = new Rectangle( 6, 5 );	    Rectangle rect2 = new Rectangle();	    System.out.println();	    	    System.out.println();	    System.out.println();	    System.out.println("Created rect1 with length 6 and width 5");	    System.out.println("Area of rect1 is: " + rect1.getArea());	    System.out.println("Created rect2 with default length and width 1");	    System.out.println("Perminter of rect2 is: " + 			       rect2.getPerimeter());	    rect2.setWidth(4);	    rect2.setLength(8.0);	    System.out.println("rect2 width: " + rect2.getWidth());	    System.out.println("rect2 length: " + rect2.getLength());	    System.out.println("rect2 area: " + rect2.getArea());	    System.out.println("rect2 perimeter: " + rect2.getPerimeter());	    System.out.println();	    System.out.println();	    System.out.println();    }} // Rectangle