Rectangle r = new Rectangle(0, 0, 10, 10);
harness.check(r.outcode(5, 5) == 0);
harness.check(r.outcode(0, 0) == 0);
harness.check(r.outcode(0, 10) == 0);
harness.check(r.outcode(10, 0) == 0);
harness.check(r.outcode(10, 10) == 0);
harness.check(r.outcode(-5, 5) == Rectangle2D.OUT_LEFT);
harness.check(r.outcode(15, 5) == Rectangle2D.OUT_RIGHT);
harness.check(r.outcode(5, -5) == Rectangle2D.OUT_TOP);
harness.check(r.outcode(5, 15) == Rectangle2D.OUT_BOTTOM);
harness.check(r.outcode(-5, -5) == (Rectangle2D.OUT_LEFT