@Test
public void testFilter_threePoints_twoOverlapping() {

    final List<SamplingPoint> sampleList = new ArrayList<>();
    addSamplePoint(19, 83, sampleList);
    addSamplePoint(21, 82, sampleList);
    addSamplePoint(102, 13, sampleList);
    final List<SamplingPoint> filteredList = filter.apply(sampleList);
    assertNotNull(filteredList);
    assertEquals(2, filteredList.size());
    assertSamplePointAt(102, 13, 0, filteredList);
    assertSamplePointAt(21, 82, 1, filteredList);
}