}
@Test public void testShape1() {
assertTrue(group.getShapeAt(1) instanceof IPolygon);
IPolygon pol = (IPolygon) group.getShapeAt(1);
assertEquals(Color.BLACK, pol.getLineColour());
assertEquals(5, pol.getNbPoints());
assertFalse(pol.hasDbleBord());
assertEquals(1., pol.getThickness(),0.0001);
assertEquals(108.499829, pol.getPtAt(0).getX(), 0.00001);
assertEquals(23.96374, pol.getPtAt(0).getY(), 0.00001);
assertEquals(108.499829, pol.getPtAt(1).getX(), 0.00001);
assertEquals(120.05512, pol.getPtAt(1).getY(), 0.00001);
assertEquals(200.82894, pol.getPtAt(2).getX(), 0.00001);
assertEquals(120.05512, pol.getPtAt(2).getY(), 0.00001);
assertEquals(200.82894, pol.getPtAt(3).getX(), 0.00001);
assertEquals(62.400297, pol.getPtAt(3).getY(), 0.00001);
assertEquals(174.44919, pol.getPtAt(4).getX(), 0.00001);
assertEquals(23.963746, pol.getPtAt(4).getY(), 0.00001);
assertEquals(0., pol.getRotationAngle(),0.0001);
assertEquals(LineStyle.SOLID, pol.getLineStyle());
assertFalse(pol.hasShadow());
assertEquals(FillingStyle.PLAIN, pol.getFillingStyle());
assertEquals(new Color(210, 230, 254), pol.getFillingCol());
}