Class LaneBasedGTUTest

  • All Implemented Interfaces:
    UNITS

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

    Copyright (c) 2013-2022 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 Detail

      • LaneBasedGTUTest

        public LaneBasedGTUTest()
    • Method Detail

      • 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.