Package org.opentrafficsim.core.geometry
Class OtsShapeTest
java.lang.Object
org.opentrafficsim.core.geometry.OtsShapeTest
Test the OtsShape class.
Copyright (c) 2013-2023 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal void
Test the create and clean constructors.final void
Test the intersects OtsShape method.final void
Test the OtsShape class.
-
Constructor Details
-
OtsShapeTest
public OtsShapeTest()
-
-
Method Details
-
testOtsShape
Test the OtsShape class.- Throws:
OtsGeometryException
- if this happens uncaught; this test has failed
-
testIntersects
Test the intersects OtsShape method.- Throws:
OtsGeometryException
- if that happens this test has failed
-
testCleanConstructors
Test the create and clean constructors.- Throws:
OtsGeometryException
- should not happen uncaught
-