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.
      • testClosestPointOnSegment

        public void testClosestPointOnSegment()
                                       throws DrawException
        Test the closestPointOnSegment method.
        Throws:
        DrawException - if that happens uncaught; this test has failed
      • circleIntersectionTest

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

        public void testDirection()
        Test the direction method.