add(.1, .1);
add(.2, .2);
add(.5, Double.NaN);
add(.8, .8);
add(.9, .9);
CountingGraphics g = paint();
assertEquals(6, g.getPointCount());
LineChecker c = new LineChecker();
c.require(19, 180, 19, 160);
c.require(19, 160, 39, 160);
c.require(159, 40, 159, 20);
c.require(159, 20, 179, 20);
c.check(g.getLines());
}