Class CurveTest

java.lang.Object
org.opentrafficsim.road.network.lane.CurveTest

public class CurveTest extends Object
Verify that GTUs register and unregister at the correct times and locations when following a curve.

Copyright (c) 2013-2024 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, Guus Tamminga
  • Constructor Details

    • CurveTest

      public CurveTest()
  • Method Details

    • curveTest

      @Test public final void curveTest() throws nl.tudelft.simulation.dsol.SimRuntimeException, NamingException, NetworkException, GtuException
      Let GTUs drive through a curve and check (de-)registration times at each node.
      Throws:
      NamingException - on error
      nl.tudelft.simulation.dsol.SimRuntimeException - on error
      NetworkException - on error
      GtuException - on error
    • printEventList

      public final void printEventList(OtsSimulatorInterface simulator)
      Print all scheduled events of an OtsSimulatorInterface.
      Parameters:
      simulator - the OtsSimulatorInterface