@Test
public void testRemove_onlyMin() {

    final LatitudeRemover latitudeRemover = new LatitudeRemover(Double.NaN, -78.5);
    final List<SamplingPoint> samples = new ArrayList<>();
    samples.add(new SamplingPoint(108.6, -64.5, 0, 0)); // remove
    samples.add(new SamplingPoint(109.7, -78.6, 0, 0)); // keep
    samples.add(new SamplingPoint(110.8, -78.4, 0, 0)); // remove
    samples.add(new SamplingPoint(111.9, -69.5, 0, 0)); // remove
    samples.add(new SamplingPoint(113.0, -82.5, 0, 0)); // keep
    latitudeRemover.remove(samples);
    assertEquals(2, samples.size());
    assertEquals(-78.6, samples.get(0).getLat(), 1e-8);
    assertEquals(-82.5, samples.get(1).getLat(), 1e-8);
}