Class ContinuousArcTest

java.lang.Object
org.opentrafficsim.core.geometry.ContinuousArcTest

public class ContinuousArcTest extends Object
Tests for ContinuousArc.

Copyright (c) 2023-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

    • ContinuousArcTest

      public ContinuousArcTest()
  • Method Details

    • inputTest

      @Test public void inputTest()
      Test input.
    • continuousLineTest

      @Test public void continuousLineTest()
      Tests the return values of standard continuous line methods.
    • flattenArcTest

      @Test public void flattenArcTest() throws OtsGeometryException
      Test flattened arc.
      Throws:
      OtsGeometryException - if test is ill defined.
    • flattenArcErrorTest

      @Test public void flattenArcErrorTest()
      Test flattened arc based on max errors.
    • offsetArcTest

      @Test public void offsetArcTest() throws OtsGeometryException
      Test offset arc.
      Throws:
      OtsGeometryException - if test is ill defined.
    • offsetArcErrorTest

      @Test public void offsetArcErrorTest()
      Test offset arc based on max errors.
    • lengthTest

      public void lengthTest() throws OtsGeometryException
      Test arc defined by length.
      Throws:
      OtsGeometryException - if test is ill defined.