@Test
public void testGetGeoLocationForDistance() {

	runTestGetGeoLocationForDistance(null);
	runTestGetGeoLocationForDistance(new Vector2d());
	runTestGetGeoLocationForDistanceWithShift(this.testedSegment, 0., -2.);
	runTestGetGeoLocationForDistanceWithShift(this.testedSegment, 0., 2.);
	runTestGetGeoLocationForDistanceWithShift(this.testedSegment, 1., -2.);
	runTestGetGeoLocationForDistanceWithShift(this.testedSegment, 1., 2.);
   	Random rnd = new Random();
   	double ratio, shift;
   	for(int i=0; i<TEST_COUNT; ++i) {
   		ratio = rnd.nextDouble();
   		shift = rnd.nextDouble() * SHIFTING_RANGE;
   		runTestGetGeoLocationForDistanceWithShift(this.testedSegment, ratio, -shift);
   		runTestGetGeoLocationForDistanceWithShift(this.testedSegment, ratio, shift);
      	}
}