@Test
void shouldCalculateConvexHull() {

    Point2D[] input = new Point2D[]{
        new Point2D(2, 2),
        new Point2D(2, 3),
        new Point2D(3, 5),
        new Point2D(1, 2),
        new Point2D(1.25, 3),
        new Point2D(2, 1),
        new Point2D(4, 2)
    };
    Double[] expected = new Double[]{
        1d, 2d, 2d, 1d, 4d, 2d, 3d, 5d, 1.25, 3d
    };
    Double[] actual = AreaOfInterest.calculateConvexHull(input);
    assertArrayEquals(expected, actual);
}