@Test
void shouldCalculateRectangle() {

    Point2D[] input = new Point2D[]{
        new Point2D(706.0, 685.0),
        new Point2D(710.0, 670.0),
        new Point2D(708.0, 690.0)
    };
    Double[] expected = new Double[]{
        706.0 - 15,
        690.0 + 15,
        710.0 + 15,
        690.0 + 15,
        710.0 + 15,
        670.0 - 15,
        706.0 - 15,
        670.0 - 15
    };
    Double[] actual = AreaOfInterest.calculateRectangle(input);
    assertArrayEquals(expected, actual);
}