src/test/java/org/a05annex/util/geo2d/TestSpline.java
@Test
    @DisplayName("Verify end-derivative")
    void testSet1_verifyEndDerivative() {
        KochanekBartelsSpline.ControlPoint lastControlPoint = null;
        for (KochanekBartelsSpline.ControlPoint controlPoint : m_startEndDerivativeTest.getControlPoints()) {
            lastControlPoint = controlPoint;
        }
        assertEquals(0.0, lastControlPoint.m_dX);
        assertEquals(0.0, lastControlPoint.m_dY);
    }
/**
     * Since all control points are coincident, the end derivative should be 0.0
     */
Since all control points are coincident, the end derivative should be 0.0
Since all control points are coincident the end derivative should be 0 . 0
@Test
    @DisplayName("Verify end-derivative")
    void testSet1_verifyEndDerivative() {
        KochanekBartelsSpline.ControlPoint lastControlPoint = null;
        for (KochanekBartelsSpline.ControlPoint controlPoint : m_startEndDerivativeTest.getControlPoints()) {
            lastControlPoint = controlPoint;
        }
        assertEquals(0.0, lastControlPoint.m_dX);
        assertEquals(0.0, lastControlPoint.m_dY);
    }
@ Test @ DisplayName ( "Verify end-derivative" ) void testSet1_verifyEndDerivative ( ) { KochanekBartelsSpline . ControlPoint lastControlPoint = null ; for ( KochanekBartelsSpline . ControlPoint controlPoint : m_startEndDerivativeTest . getControlPoints ( ) ) { lastControlPoint = controlPoint ; } assertEquals ( 0.0 , lastControlPoint . m_dX ) ; assertEquals ( 0.0 , lastControlPoint . m_dY ) ; }
Since all control points are coincident, the end derivative should be 0.0
Since all control points are coincident the end derivative should be 0 . 0