Class ODApplierTest
java.lang.Object
org.opentrafficsim.road.gtu.strategical.od.ODApplierTest
@PrepareForTest({org.opentrafficsim.core.dsol.OTSReplication.class,org.opentrafficsim.core.dsol.OTSSimulatorInterface.class})
public class ODApplierTest
extends java.lang.Object
Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Version:
- $Revision$, $LastChangedDate$, by $Author$, initial version 12 dec. 2017
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Constructor Summary
Constructors Constructor Description ODApplierTest()Constructor. -
Method Summary
Modifier and Type Method Description voidgtuFractionTest()voidheadwayGeneratorTest()Test whether correct headways and frequencies are calculated.
-
Constructor Details
-
ODApplierTest
Constructor.- Throws:
OTSGeometryException- on exceptionNetworkException- on exception
-
-
Method Details
-
headwayGeneratorTest
public void headwayGeneratorTest() throws ValueRuntimeException, NetworkException, ParameterException, SimRuntimeException, ProbabilityException, java.lang.IllegalArgumentException, java.lang.IllegalAccessException, OTSGeometryExceptionTest whether correct headways and frequencies are calculated.- Throws:
NetworkException- on exceptionValueRuntimeException- on exceptionSimRuntimeException- on exceptionParameterException- on exceptionProbabilityException- on exceptionjava.lang.IllegalAccessException- on exceptionjava.lang.IllegalArgumentException- on exceptionOTSGeometryException- on exception
-
gtuFractionTest
public void gtuFractionTest() throws ValueRuntimeException, NetworkException, ParameterException, SimRuntimeException, ProbabilityException, GTUException- Throws:
ValueRuntimeException- on exceptionNetworkException- on exceptionSimRuntimeException- on exceptionParameterException- on exceptionGTUException- on exceptionProbabilityException- on exception
-