}
@Test
public void testMoreThanTwoPointsCoordinates() throws ParseException {
IPolyline line = (IPolyline)parser.parsePSTCode("\\"+getCommandName()+"(5,10)(6, 7) (1, 2) % foo \n(3, \t4)").get().getShapeAt(0); //$NON-NLS-1$ //$NON-NLS-2$
assertEquals(4, line.getNbPoints());
assertEquals(5.*IShape.PPC, line.getPtAt(0).getX(), 0.0001);
assertEquals(-10.*IShape.PPC, line.getPtAt(0).getY(), 0.0001);
assertEquals(6.*IShape.PPC, line.getPtAt(1).getX(), 0.0001);
assertEquals(-7.*IShape.PPC, line.getPtAt(1).getY(), 0.0001);
assertEquals(1.*IShape.PPC, line.getPtAt(2).getX(), 0.0001);
assertEquals(-2.*IShape.PPC, line.getPtAt(2).getY(), 0.0001);
assertEquals(3.*IShape.PPC, line.getPtAt(3).getX(), 0.0001);
assertEquals(-4.*IShape.PPC, line.getPtAt(3).getY(), 0.0001);
assertTrue(PSTParser.errorLogs().isEmpty());
}