Class CurveTest
java.lang.Object
org.opentrafficsim.road.network.lane.CurveTest
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
Let GTUs drive through a curve and check (de-)registration times at each node.final void
printEventList
(OtsSimulatorInterface simulator) Print all scheduled events of an OtsSimulatorInterface.
-
Constructor Details
-
CurveTest
public CurveTest()
-
-
Method Details
-
curveTest
@Test public final void curveTest() throws OtsGeometryException, nl.tudelft.simulation.dsol.SimRuntimeException, NamingException, NetworkException, GtuExceptionLet GTUs drive through a curve and check (de-)registration times at each node.- Throws:
OtsGeometryException
- on errorNamingException
- on errornl.tudelft.simulation.dsol.SimRuntimeException
- on errorNetworkException
- on errorGtuException
- on error
-
printEventList
Print all scheduled events of an OtsSimulatorInterface.- Parameters:
simulator
- OtsSimulatorInterface; the OtsSimulatorInterface
-