Class OTSShapeTest

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

public class OTSShapeTest
extends java.lang.Object
Test the OTSShape class.

Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

Version:
$Revision$, $LastChangedDate$, by $Author$, initial version Jan 9, 2017
Author:
Alexander Verbraeck, Peter Knoppers, Wouter Schakel
  • Constructor Summary

    Constructors 
    Constructor Description
    OTSShapeTest()  
  • Method Summary

    Modifier and Type Method Description
    void testCleanConstructors()
    Test the create and clean constructors.
    void testIntersects()
    Test the intersects OTSShape method.
    void testOTSShape()
    Test the OTSShape class.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • testOTSShape

      public final void testOTSShape() throws org.opentrafficsim.core.geometry.OTSGeometryException
      Test the OTSShape class.
      Throws:
      org.opentrafficsim.core.geometry.OTSGeometryException - if this happens uncaught; this test has failed
    • testIntersects

      public final void testIntersects() throws org.opentrafficsim.core.geometry.OTSGeometryException
      Test the intersects OTSShape method.
      Throws:
      org.opentrafficsim.core.geometry.OTSGeometryException - if that happens this test has failed
    • testCleanConstructors

      public final void testCleanConstructors() throws org.opentrafficsim.core.geometry.OTSGeometryException
      Test the create and clean constructors.
      Throws:
      org.opentrafficsim.core.geometry.OTSGeometryException - should not happen uncaught