public double getCenterY() {
        return (this.top + this.bottom) / 2;
    }
@Test
    public void getCenterYTest() {
        Rectangle rectangle = create(1, 2, 3, 4);
        Assert.assertEquals(3, rectangle.getCenterY(), 0);
    }