Rectangle2D r = new Rectangle2D.Double(0.0, 0.0, 10.0, 10.0);
harness.check(r.outcode(5.0, 5.0) == 0);
harness.check(r.outcode(0.0, 0.0) == 0);
harness.check(r.outcode(0.0, 10.0) == 0);
harness.check(r.outcode(10.0, 0.0) == 0);
harness.check(r.outcode(10.0, 10.0) == 0);
harness.check(r.outcode(-5.0, 5.0) == Rectangle2D.OUT_LEFT);
harness.check(r.outcode(15.0, 5.0) == Rectangle2D.OUT_RIGHT);
harness.check(r.outcode(5.0, -5.0) == Rectangle2D.OUT_TOP);
harness.check(r.outcode(5.0, 15.0) == Rectangle2D.OUT_BOTTOM);
harness.check(r.outcode(-5.0, -5.0) == (Rectangle2D.OUT_LEFT