assertEquals(0, shape.getPosition().getY(), 0.0);
}
@Test
public void testConstructor2() {
IRhombus rho = ShapeFactory.createRhombus(ShapeFactory.createPoint(5, 15), 20, 40);
HelperTest.assertEqualsDouble(4, rho.getNbPoints());
assertEquals(20.0, rho.getWidth(), 0.0);
assertEquals(40.0, rho.getHeight(), 0.0);
assertEquals(-5.0, rho.getPosition().getX(), 0.0);
assertEquals(35.0, rho.getPosition().getY(), 0.0);
}