@Test
public void testGetPositionOnSegment() {

	assertTrue(Double.isNaN(this.halt.getPositionOnSegment()));
	this.halt.setPositionOnSegment(4f);
	assertEpsilonEquals(4f, this.halt.getPositionOnSegment());
	this.itinerary.addRoadSegment(this.segment2);
	this.itinerary.addRoadSegment(this.segment1);
	assertEpsilonEquals(4f, this.halt.getPositionOnSegment());
	this.halt.setPositionOnSegment(6f);
	assertEpsilonEquals(6f, this.halt.getPositionOnSegment());
	this.halt.setPositionOnSegment(Float.NaN);
	assertTrue(Double.isNaN(this.halt.getPositionOnSegment()));
}