public class OTSNetworkTest extends Object implements EventListenerInterface
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Constructor and Description |
---|
OTSNetworkTest() |
Modifier and Type | Method and Description |
---|---|
void |
notify(EventInterface event) |
void |
testOTSNetwork()
Test OTSNetwork class.
|
void |
testRouteMap()
Test the route map stuff.
|
void |
testShortestPathAntiClockWise()
Test the shortest path functionality.
|
void |
testShortestPathBiDirectional()
Test the shortest path functionality.
|
void |
testShortestPathClockWise()
Test the shortest path functionality.
|
void |
testShortestPathWithIntermediateNodes()
Test the shortest path method that takes a list of intermediate nodes.
|
public final void testOTSNetwork() throws org.opentrafficsim.core.network.NetworkException, org.opentrafficsim.core.geometry.OTSGeometryException
NetworkException
- if that happens; this test has failedorg.opentrafficsim.core.geometry.OTSGeometryException
- if that happens; this test has failedpublic final void notify(EventInterface event) throws RemoteException
notify
in interface EventListenerInterface
RemoteException
public final void testRouteMap() throws org.opentrafficsim.core.network.NetworkException
NetworkException
- if that happens uncaught; this test has failedpublic final void testShortestPathBiDirectional() throws org.opentrafficsim.core.network.NetworkException, org.opentrafficsim.core.geometry.OTSGeometryException
NetworkException
- if that happens uncaught; this test has failedorg.opentrafficsim.core.geometry.OTSGeometryException
- if that happens uncaught; this test has failedpublic final void testShortestPathClockWise() throws org.opentrafficsim.core.network.NetworkException, org.opentrafficsim.core.geometry.OTSGeometryException
NetworkException
- if that happens uncaught; this test has failedorg.opentrafficsim.core.geometry.OTSGeometryException
- if that happens uncaught; this test has failedpublic final void testShortestPathAntiClockWise() throws org.opentrafficsim.core.network.NetworkException, org.opentrafficsim.core.geometry.OTSGeometryException
NetworkException
- if that happens uncaught; this test has failedorg.opentrafficsim.core.geometry.OTSGeometryException
- if that happens uncaught; this test has failedpublic final void testShortestPathWithIntermediateNodes() throws org.opentrafficsim.core.network.NetworkException, org.opentrafficsim.core.geometry.OTSGeometryException
org.opentrafficsim.core.geometry.OTSGeometryException
- if that happens uncaught; this test has failedNetworkException
- if that happens uncaught; this test has failedCopyright © 2014–2019 Delft University of Technology. All rights reserved.