37 BOOST_AUTO_TEST_SUITE( KiMath )
63 BOOST_AUTO_TEST_SUITE_END()
BOOST_AUTO_TEST_CASE(TestInterceptsPositiveX)
Test suite for KiCad math code.
BOOST_CHECK(v2.Cross(v1)==1)
bool InterceptsPositiveX(double aStartAngle, double aEndAngle)
Test if an arc from aStartAngle to aEndAngle crosses the positive X axis (0 degrees).
bool InterceptsNegativeX(double aStartAngle, double aEndAngle)
Test if an arc from aStartAngle to aEndAngle crosses the negative X axis (180 degrees).