Package org.opentrafficsim.base.geometry
Class ShapeTest
java.lang.Object
org.opentrafficsim.base.geometry.ShapeTest
Tests OtsShape implementations.
Copyright (c) 2024-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Wouter Schakel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Tests CircleShape, and equal RoundedRectangleShape.void
Test polygon.void
Tests RectangleShape, and equal RoundedRectangleShape.
-
Constructor Details
-
ShapeTest
public ShapeTest()
-
-
Method Details
-
testCircle
@Test public void testCircle()Tests CircleShape, and equal RoundedRectangleShape. -
testRectangle
@Test public void testRectangle()Tests RectangleShape, and equal RoundedRectangleShape. -
testPolygon
@Test public void testPolygon()Test polygon.
-