Package org.opentrafficsim.core.gtu
Class GtuTest
java.lang.Object
org.opentrafficsim.core.gtu.GtuTest
Test the AbstractGTU class.
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
-
Field Summary
FieldsModifier and TypeFieldDescriptionGTU that will be returned when the fake strategical planner is asked for the associated GTU with getGTU. -
Method Summary
-
Field Details
-
gtuOfStrategicalPlanner
GTU that will be returned when the fake strategical planner is asked for the associated GTU with getGTU.
-
-
Method Details
-
testAbstractGtu
@Test public void testAbstractGtu() throws GtuException, SimRuntimeException, NetworkException, NamingException, RemoteExceptionTest the constructor.- Throws:
GtuException- should not happen uncaught; if it does the test has failedNetworkException- should not happen uncaught; if it does the test has failedSimRuntimeException- should not happen uncaught; if it does the test has failedNamingException- should not happen uncaught; if it does the test has failedRemoteException- should not happen uncaught; if it does the test has failed
-