}
@Test public void testShape2() {
assertTrue(group.getShapeAt(2) instanceof IPolyline);
final IPolyline line = (IPolyline) group.getShapeAt(2);
assertEquals(2, line.getNbPoints());
assertEquals(336.5569380759364, line.getPtAt(0).getX(), 0.0001);
assertEquals(212.8049502670051, line.getPtAt(0).getY(), 0.0001);
assertEquals(424.08868741702884, line.getPtAt(1).getX(), 0.0001);
assertEquals(164.45008642386978, line.getPtAt(1).getY(), 0.0001);
assertEquals(0., line.getRotationAngle(),0.0001);
assertEquals(6., line.getThickness(),0.0001);
assertEquals(CSSColors.INSTANCE.getRGBColour("#909090"), line.getLineColour()); //$NON-NLS-1$
assertFalse(line.isFilled());
assertEquals(FillingStyle.NONE, line.getFillingStyle());
assertFalse(line.hasShadow());
assertEquals(ArrowStyle.NONE, line.getArrowStyle(0));
assertEquals(ArrowStyle.RIGHT_ARROW, line.getArrowStyle(1));
assertEquals(0., line.getArrowAt(1).getArrowInset(), 0.00001);
assertEquals(2.64583, line.getArrowAt(1).getArrowSizeDim(), 0.00001);
assertEquals(2.0, line.getArrowAt(1).getArrowSizeNum(), 0.00001);
assertEquals(1.4, line.getArrowAt(1).getArrowLength(), 0.00001);
}