public final void testToString() { Rect r = new Rect(3, 4, 20, 30); assertEquals("Rect [(3,4)-(23,34): 20x30]", r.toString()); }