assertEquals(0., txt.getRotationAngle(), 0.001);
}
@Test
public void testRPutCoordRotationEText() throws ParseException {
IText txt = (IText)parser.parsePSTCode("\\rput{E}(1,2){coucou}").get().getShapeAt(0); //$NON-NLS-1$
assertTrue(PSTParser.errorLogs().isEmpty());
assertEquals("coucou", txt.getText()); //$NON-NLS-1$
assertEquals(IShape.PPC, txt.getPosition().getX(), 0.001);
assertEquals(-2.*IShape.PPC, txt.getPosition().getY(), 0.001);
assertEquals(Math.toRadians(-270.), txt.getRotationAngle(), 0.001);
}