@Test
public void testZeroDivergence() {

    NicGeoPoint point1 = new XYPoint(50721776, 7061692);
    point1.setDivergence(0.0);
    NicGeoPoint point2 = new XYPoint(50721859, 7061444);
    point2.setDivergence(5.245503270998597E-4);
    NicGeoPoint point3 = new XYPoint(50721817, 7061446);
    point3.setDivergence(0.0012848408659920096);
    distanceSet = new TreeSet<NicGeoPoint>();
    distanceSet.add(point1);
    distanceSet.add(point2);
    distanceSet.add(point3);
    NicGeoPoint pointResult = interpolator.interpolatePosition(distanceSet);
    assertTrue(pointResult.getX()!=0.0);
    assertTrue(pointResult.getY()!=0.0);
}