Class Point2dTest

    • Constructor Detail

      • Point2dTest

        public Point2dTest()
    • Method Detail

      • testPoint2dConstruction

        public void testPoint2dConstruction()
        Test the Point2d construction methods.
      • testPoint2dOperators

        public void testPoint2dOperators()
        Test the Point2d operators.
      • testPoint2dOperatorsNPE

        public void testPoint2dOperatorsNPE()
        Test the Point2d operators for NPE.
      • testIntersectionOfLineSegments

        public void testIntersectionOfLineSegments()
        Test the intersectionOfLineSegments method.
      • testIntersectionOfLines

        public void testIntersectionOfLines()
        Test the intersectionOfLines method.
      • testClosestPointOnSegmentAndLine

        public void testClosestPointOnSegmentAndLine()
                                              throws DrawRuntimeException
        Test the closestPointOnSegment and the closestPointOnLine methods.
        Throws:
        DrawRuntimeException - if that happens uncaught; this test has failed
      • circleIntersectionTest

        public void circleIntersectionTest()
        Test the circleIntersection method.
      • testDirection

        public void testDirection()
        Test the direction method.