|
KiCad PCB EDA Suite
|
CU_SHAPE_SEGMENT::Paths( const CU_SHAPE_ARC& ) must return the lowest-weight candidate when the closest point of the arc's circle lies outside the arc's angular span. More...
#include <optional>#include <vector>#include <qa_utils/wx_utils/unit_test_utils.h>#include <drc/drc_creepage_utils.h>Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (CreepageSegmentToArcFallbackPicksLowestWeight) | |
CU_SHAPE_SEGMENT::Paths( const CU_SHAPE_ARC& ) must return the lowest-weight candidate when the closest point of the arc's circle lies outside the arc's angular span.
Definition in file test_drc_creepage_issue25821.cpp.
| BOOST_AUTO_TEST_CASE | ( | CreepageSegmentToArcFallbackPicksLowestWeight | ) |
Definition at line 76 of file test_drc_creepage_issue25821.cpp.
References CU_SHAPE_ARC::AngleBetweenStartAndEnd(), BOOST_CHECK(), BOOST_REQUIRE(), BOOST_REQUIRE_EQUAL(), DEGREES_T, expected, CU_SHAPE_ARC::GetEndAngle(), CREEP_SHAPE::GetPos(), CU_SHAPE_ARC::GetWidth(), CU_SHAPE_SEGMENT::Paths(), and radius.