Class GtuTest

java.lang.Object
org.opentrafficsim.core.gtu.GtuTest

public class GtuTest extends Object
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 Details

    • gtuOfStrategicalPlanner

      public Gtu gtuOfStrategicalPlanner
      GTU that will be returned when the fake strategical planner is asked for the associated GTU with getGTU.
  • Constructor Details

    • GtuTest

      public GtuTest()
  • Method Details

    • testAbstractGtu

      @Test public final void testAbstractGtu() throws GtuException, nl.tudelft.simulation.dsol.SimRuntimeException, NetworkException, NamingException, RemoteException
      Test the constructor.
      Throws:
      GtuException - should not happen uncaught; if it does the test has failed
      NetworkException - should not happen uncaught; if it does the test has failed
      nl.tudelft.simulation.dsol.SimRuntimeException - should not happen uncaught; if it does the test has failed
      NamingException - should not happen uncaught; if it does the test has failed
      RemoteException - should not happen uncaught; if it does the test has failed