KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_bezier.cpp File Reference

Go to the source code of this file.

Functions

static void checkVecClose (const VECTOR2D &aActual, const VECTOR2D &aExpected)
 
 BOOST_AUTO_TEST_CASE (SplitPreservesEndpoints)
 
 BOOST_AUTO_TEST_CASE (SubCurvePreservesOriginalParameterization)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/2]

BOOST_AUTO_TEST_CASE ( SplitPreservesEndpoints )

Definition at line 36 of file test_bezier.cpp.

References checkVecClose(), left, and right.

◆ BOOST_AUTO_TEST_CASE() [2/2]

BOOST_AUTO_TEST_CASE ( SubCurvePreservesOriginalParameterization )

◆ checkVecClose()

static void checkVecClose ( const VECTOR2D & aActual,
const VECTOR2D & aExpected )
static

Definition at line 27 of file test_bezier.cpp.

References checkVecClose().

Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and checkVecClose().