testContains2(harness);
}
private void testContains1(TestHarness harness) {
harness.checkPoint("contains(double, double)");
Ellipse2D e = new Ellipse2D.Double();
harness.check(!e.contains(0.0, 0.0));
e = new Ellipse2D.Double(1.0, 2.0, 3.0, 4.0);
harness.check(!e.contains(1.0, 2.0));
harness.check(!e.contains(4.0, 2.0));
harness.check(!e.contains(1.0, 6.0));
harness.check(!e.contains(4.0, 6.0));
harness.check(e.contains(2.5, 4.0));
e = new Ellipse2D.Double(-1.0, -1.0, 2.0, 2.0);
harness.check(e.contains(0.0, 0.0));
harness.check(!e.contains(-1.0, 0.0));
harness.check(!e.contains(0.0, 1.0));
harness.check(!e.contains(0.0, -1.0));
harness.check(!e.contains(0.0, 1.0));
harness.check(e.contains(-0.9, 0.0));
harness.check(e.contains(0.0, 0.9));
harness.check(e.contains(0.0, -0.9));
harness.check(e.contains(0.0, 0.9));
}