}
@Test
public void testGangle() throws ParseException {
ITriangle tri = (ITriangle)parser.parsePSTCode("\\"+getCommandName()+"[gangle=180](2,2)(4,1)").get().getShapeAt(0); //$NON-NLS-1$ //$NON-NLS-2$
assertEquals(0., tri.getPosition().getX(), 0.001);
assertEquals(-1.*IShape.PPC, tri.getPosition().getY(), 0.001);
assertEquals(4.*IShape.PPC, tri.getWidth(), 0.001);
assertEquals(1.*IShape.PPC, tri.getHeight(), 0.001);
assertEquals(Math.toRadians(180.), tri.getRotationAngle(), 0.001);
assertTrue(PSTParser.errorLogs().isEmpty());
}