public class OTSLine3DTest extends Object
Copyright (c) 2013-2017 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 |
offsetLineTest()
Test the offsetLine method.
|
void |
reverseTest()
Test the reverse method.
|
void |
testFilter()
Test the noiseFilteredLine method.
|
void |
testFind()
Test the find method.
|
void |
testFractionalProjection()
Tests the fractional projection method.
|
public final void constructorsTest()
throws OTSGeometryException,
NetworkException
OTSGeometryException - on failureNetworkException - on failurepublic final void exceptionTest()
throws OTSGeometryException
OTSGeometryException - should not happen; this test has failed if it does happenpublic final void locationExtendedTest()
throws OTSGeometryException
OTSGeometryException - should not happen; this test has failed if it does happenpublic final void locationTest()
throws OTSGeometryException
OTSGeometryException - on failurepublic final void cleanTest()
throws OTSGeometryException
OTSGeometryException - should never happenpublic final void equalsTest()
throws OTSGeometryException
OTSGeometryException - should not happen; this test has failed if it does happenpublic final void concatenateTest()
throws OTSGeometryException
OTSGeometryException - should not happen; this test has failed if it does happenpublic final void reverseTest()
throws OTSGeometryException
OTSGeometryException - should not happen; this test has failed if it does happenpublic final void extractTest()
throws OTSGeometryException
OTSGeometryException - should not happen; this test has failed if it does happenpublic final void offsetLineTest()
throws OTSGeometryException
OTSGeometryException - should not happen (if it does; this test has failed)public final void testFilter()
throws OTSGeometryException
OTSGeometryException - should not happen (if it does, this test has failed)public final void testFractionalProjection()
throws OTSGeometryException
OTSGeometryException - should not happen (if it does, this test has failed)public final void testFind()
throws OTSGeometryException,
NoSuchMethodException,
SecurityException,
IllegalAccessException,
IllegalArgumentException,
InvocationTargetException
OTSGeometryException - if that happens uncaught; this test has failedSecurityException - if that happens uncaught; this test has failedNoSuchMethodException - if that happens uncaught; this test has failedInvocationTargetException - if that happens uncaught; this test has failedIllegalArgumentException - if that happens uncaught; this test has failedIllegalAccessException - if that happens uncaught; this test has failedCopyright © 2014–2017 Delft University of Technology. All rights reserved.