Class LaneBasedGtuTest

java.lang.Object
org.opentrafficsim.road.gtu.LaneBasedGtuTest
All Implemented Interfaces:
UNITS

public class LaneBasedGtuTest extends Object implements UNITS
Test the LaneBasedGtu class.

Copyright (c) 2013-2023 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

Author:
Alexander Verbraeck, Peter Knoppers
  • Constructor Details

    • LaneBasedGtuTest

      public LaneBasedGtuTest()
  • Method Details

    • leaderFollowerAndParallelTest

      public void leaderFollowerAndParallelTest() throws Exception
      Test the leader, follower and parallel methods.
      Throws:
      Exception - when something goes wrong (should not happen)
    • timeAtDistanceTest

      public final void timeAtDistanceTest() throws Exception
      Test the deltaTimeForDistance and timeAtDistance methods.
      Throws:
      Exception - when something goes wrong (should not happen)
    • autoPauseSimulator

      public final void autoPauseSimulator()
      Executed as scheduled event.