Class ShapeTest

java.lang.Object
org.opentrafficsim.base.geometry.ShapeTest

public class ShapeTest extends Object
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 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.