public class OTSLine3DTest extends Object
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Constructor and Description |
---|
OTSLine3DTest() |
Modifier and Type | Method and Description |
---|---|
void |
cleanTest()
Test the createAndCleanOTSLine3D method
|
void |
concatenateTest()
Test the concatenate method.
|
void |
constructorsTest()
Test the constructors of OTSLine3D.
|
void |
equalsTest()
Test the equals method.
|
void |
exceptionTest()
Test that exception is thrown when it should be.
|
void |
extractTest()
Test the extract and extractFraction methods.
|
void |
locationExtendedTest()
Test the getLocationExtended method and friends.
|
void |
locationTest()
Test getLocation method.
|
void |
reverseTest()
Test the reverse method.
|
public void constructorsTest() throws OTSGeometryException, NetworkException
OTSGeometryException
- on failureNetworkException
- on failurepublic void exceptionTest() throws OTSGeometryException
OTSGeometryException
- on failurepublic void locationExtendedTest() throws OTSGeometryException
OTSGeometryException
- on failurepublic void locationTest() throws OTSGeometryException
OTSGeometryException
- on failurepublic void cleanTest() throws OTSGeometryException
OTSGeometryException
- should never happenpublic void equalsTest() throws OTSGeometryException
OTSGeometryException
- should never happenpublic void concatenateTest() throws OTSGeometryException
OTSGeometryException
public void reverseTest() throws OTSGeometryException
OTSGeometryException
public void extractTest() throws OTSGeometryException
OTSGeometryException
Copyright © 2014–2016 Delft University of Technology. All rights reserved.