assertEquals(5, line.getPointCount());
line.removeAllPoints();
assertEquals(0, line.getPointCount());
assertEquals(0, line.getXData().getLength());
assertEquals(0, line.getYData().getLength());
CountingGraphics g = paint();
assertEquals(0, g.getPointCount());
add(.1, .1);
add(.2, .2);
CountingGraphics g2 = paint(new Rectangle(24, 176, 10, 10));
LineChecker c = new LineChecker();
c.require(19, 180, 39, 160);
c.allow(39, 160, 59, 140);
c.allow(59, 140, 79, 120);
c.check(g2.getLines());
assertEquals(g2.getLines().size() + 1, g2.getPointCount());
}