Class InjectionsTest
java.lang.Object
org.opentrafficsim.road.gtu.generator.InjectionsTest
InjectionsTest.
- Author:
- Wouter Schakel
-
Constructor Summary
-
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 ProbabilityException, org.opentrafficsim.base.parameters.ParameterException, NetworkException, GtuException, OtsGeometryException, nl.tudelft.simulation.dsol.SimRuntimeException, NamingExceptionTest Injections.- Throws:
ProbabilityException
- on exceptionorg.opentrafficsim.base.parameters.ParameterException
- on exceptionNetworkException
- on exceptionGtuException
- on exceptionOtsGeometryException
- on exceptionNamingException
- on exceptionnl.tudelft.simulation.dsol.SimRuntimeException
- on exception
-
testIdorder
@Test public final void testIdorder() throws NetworkException, nl.tudelft.simulation.dsol.SimRuntimeException, ProbabilityException, 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
- exceptionProbabilityException
- exceptionnl.tudelft.simulation.dsol.SimRuntimeException
- exceptionNamingException
- exception
-