@Test
public void largestGapEast() {

    Vector2d vector = VecmathUtil.newVectorInLargestGap(Arrays
            .asList(new Vector2d(1, 1), new Vector2d(1, -1), new Vector2d(-1, -1), new Vector2d(-1, 1),
                    new Vector2d(-1, 0), new Vector2d(0, 1), new Vector2d(0, -1)));
    assertThat(vector.x, closeTo(1, 0.01));
    assertThat(vector.y, closeTo(0, 0.01));
    assertThat(vector.length(), closeTo(1d, 0.01));
}