public boolean contains(Point point) {
        return this.left <= point.x && this.right >= point.x && this.top <= point.y && this.bottom >= point.y;
    }
@Test
    public void containsTest() {
        Rectangle rectangle = create(1, 2, 3, 4);

        Assert.assertTrue(rectangle.contains(new Point(1, 2)));
        Assert.assertTrue(rectangle.contains(new Point(1, 4)));
        Assert.assertTrue(rectangle.contains(new Point(3, 2)));
        Assert.assertTrue(rectangle.contains(new Point(3, 4)));
        Assert.assertTrue(rectangle.contains(new Point(2, 3)));

        Assert.assertFalse(rectangle.contains(new Point(0, 0)));
        Assert.assertFalse(rectangle.contains(new Point(1, 1)));
        Assert.assertFalse(rectangle.contains(new Point(4, 4)));
        Assert.assertFalse(rectangle.contains(new Point(5, 5)));
    }