Package org.djutils.draw.line
Class Ray2dTest
- java.lang.Object
-
- org.djutils.draw.line.Ray2dTest
-
public class Ray2dTest extends Object
Ray2dTest.java.Copyright (c) 2021-2021 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUTILS License.- Author:
- Alexander Verbraeck, Peter Knoppers
-
-
Constructor Summary
Constructors Constructor Description Ray2dTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidboundsTest()Test the result of the getBounds method.voidepsilonEqualsTest()Test the epsilonEquals method.voidtestClosestPoint()Test the closestPointOnRay method.voidtestConstructors()Test the various constructors of a Ray2d.voidtestLocation()Test the getLocation and getLocationExtended methods.
-
-
-
Method Detail
-
testConstructors
public void testConstructors()
Test the various constructors of a Ray2d.
-
boundsTest
public void boundsTest()
Test the result of the getBounds method.
-
testLocation
public void testLocation()
Test the getLocation and getLocationExtended methods.
-
testClosestPoint
public void testClosestPoint()
Test the closestPointOnRay method.
-
epsilonEqualsTest
public void epsilonEqualsTest()
Test the epsilonEquals method.
-
-