Class InjectionsTest
java.lang.Object
org.opentrafficsim.road.gtu.generator.InjectionsTest
InjectionsTest.
- Author:
- Wouter Schakel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal void
Tests whether Injection ids are used even when a GTU is delayed due to a lack of space.final void
Test Injections.
-
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, NamingExceptionTest Injections.- Throws:
org.opentrafficsim.base.parameters.ParameterException
- on exceptionNetworkException
- on exceptionGtuException
- on exceptionorg.opentrafficsim.base.geometry.OtsGeometryException
- on exceptionNamingException
- on exceptionnl.tudelft.simulation.dsol.SimRuntimeException
- on exception
-
testIdorder
@Test public final void testIdorder() throws NetworkException, nl.tudelft.simulation.dsol.SimRuntimeException, org.opentrafficsim.base.parameters.ParameterException, NamingExceptionTests whether Injection ids are used even when a GTU is delayed due to a lack of space.- Throws:
NetworkException
- exceptionorg.opentrafficsim.base.parameters.ParameterException
- exceptionnl.tudelft.simulation.dsol.SimRuntimeException
- exceptionNamingException
- exception
-