Class LaneBasedGTUTest

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

public class LaneBasedGTUTest
extends java.lang.Object
implements UNITS
Test the LaneBasedGTU class.

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

$LastChangedDate: 2015-09-14 01:33:02 +0200 (Mon, 14 Sep 2015) $, @version $Revision: 1401 $, by $Author: averbraeck $, initial version 27 jan. 2015

Author:
Alexander Verbraeck, Peter Knoppers
  • Constructor Details

  • Method Details

    • leaderFollowerAndParallelTest

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

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

      public final void autoPauseSimulator()
      Executed as scheduled event.