}
@Test
public void test2CoordinatesFloat() throws ParseException {
ITriangle tri = (ITriangle)parser.parsePSTCode("\\"+getCommandName()+"(10.5,20.5)(35.5,50.5)").get().getShapeAt(0); //$NON-NLS-1$ //$NON-NLS-2$
assertEquals(10.5*IShape.PPC-35.5/2.*IShape.PPC, tri.getPosition().getX(), 0.001);
assertEquals(20.5*-IShape.PPC, tri.getPosition().getY(), 0.001);
assertEquals(35.5*IShape.PPC, tri.getWidth(), 0.001);
assertEquals(50.5*IShape.PPC, tri.getHeight(), 0.001);
assertTrue(PSTParser.errorLogs().isEmpty());
}