Plotter { public Point getLocation() { return new Point(curx, cury); } Plotter(); void drawBox(int w, int h); void drawBox(java.awt.Dimension d); void drawBox(java.awt.Rectangle r); Point getLocation(); final int MAXX; final int MAXY; }
@Test public void testInitial() { assertEquals("initial", new Point(0,0), p.getLocation()); }