Class InjectionsTest

java.lang.Object
org.opentrafficsim.road.gtu.generator.InjectionsTest

public class InjectionsTest extends Object
InjectionsTest.
Author:
Wouter Schakel
  • Constructor Details

    • InjectionsTest

      public InjectionsTest()
  • Method Details

    • testInjections

      @Test public final void testInjections() throws org.opentrafficsim.base.parameters.ParameterException, NetworkException, GtuException, org.opentrafficsim.base.geometry.OtsGeometryException, nl.tudelft.simulation.dsol.SimRuntimeException, NamingException
      Test Injections.
      Throws:
      org.opentrafficsim.base.parameters.ParameterException - on exception
      NetworkException - on exception
      GtuException - on exception
      org.opentrafficsim.base.geometry.OtsGeometryException - on exception
      NamingException - on exception
      nl.tudelft.simulation.dsol.SimRuntimeException - on exception
    • testIdorder

      @Test public final void testIdorder() throws NetworkException, nl.tudelft.simulation.dsol.SimRuntimeException, org.opentrafficsim.base.parameters.ParameterException, NamingException
      Tests whether Injection ids are used even when a GTU is delayed due to a lack of space.
      Throws:
      NetworkException - exception
      org.opentrafficsim.base.parameters.ParameterException - exception
      nl.tudelft.simulation.dsol.SimRuntimeException - exception
      NamingException - exception