r = new Rectangle(0, 0, 0, 0);
int outside = Rectangle2D.OUT_LEFT | Rectangle2D.OUT_RIGHT
| Rectangle2D.OUT_TOP | Rectangle2D.OUT_BOTTOM;
harness.check(r.outcode(-1, -1) == outside);
harness.check(r.outcode(-1, 0) == outside);
harness.check(r.outcode(-1, 1) == outside);
harness.check(r.outcode(0, -1) == outside);
harness.check(r.outcode(0, 0) == outside);
harness.check(r.outcode(0, 1) == outside);
harness.check(r.outcode(1, -1) == outside);
harness.check(r.outcode(1, 0) == outside);