@Test
public final void testLaneCount() {

    final double roadLength = 1000.0;
    RoadSegment r = new RoadSegment(roadLength, 1);
    assertEquals(1, r.laneCount());
    r = new RoadSegment(roadLength, 2);
    assertEquals(2, r.laneCount());
    r = new RoadSegment(roadLength, 3);
    assertEquals(3, r.laneCount());
    r = new RoadSegment(roadLength, 4);
    assertEquals(4, r.laneCount());
}