.getScale()), rectangle.getWidth().getPixels(battle.getScale()));
assertEquals("The height should be equals", height.getPixels(battle
.getScale()), rectangle.getHeight()
.getPixels(battle.getScale()));
MapElementSize newWidth = new MapElementSizeSquare(2.0);
MapElementSize newHeight = new MapElementSizeSquare(3.0);
rectangle.setWidth(newWidth);
rectangle.setHeight(newHeight);
sleep();
assertEquals("The width should be equals", newWidth.getPixels(battle
.getScale()), rectangle.getWidth().getPixels(battle.getScale()));
assertEquals("The height should be equals", newHeight.getPixels(battle
.getScale()), rectangle.getHeight()
.getPixels(battle.getScale()));
BufferedImage realImg = new BufferedImage(200, 200,
BufferedImage.TYPE_INT_ARGB);