|
KiCad PCB EDA Suite
|
#include <qa_utils/wx_utils/unit_test_utils.h>#include <qa_utils/geometry/geometry.h>#include <board.h>#include <geometry/shape_utils.h>#include <footprint.h>#include <pcb_shape.h>Go to the source code of this file.
Functions | |
| static bool | CourtyardEqualPredicate (const SHAPE_POLY_SET &a, const SHAPE_POLY_SET &b) |
| BOOST_AUTO_TEST_CASE (FootprintCourtyardAndHull) | |
| BOOST_AUTO_TEST_CASE | ( | FootprintCourtyardAndHull | ) |
Definition at line 52 of file test_footprint.cpp.
References FOOTPRINT::Add(), B_CrtYd, BOOST_AUTO_TEST_CASE(), BOOST_CHECK_PREDICATE(), BOOST_REQUIRE(), BOOST_TEST(), BOOST_TEST_CONTEXT(), BOX2< VECTOR2I >::ByCorners(), KI_TEST::ChainsAreCyclicallyEqual(), CourtyardEqualPredicate(), F_CrtYd, FOOTPRINT::Flip(), FOOTPRINT::GetBoundingHull(), FOOTPRINT::GetCourtyard(), LEFT_RIGHT, SHAPE_LINE_CHAIN::Mirror(), FOOTPRINT::Move(), SHAPE_LINE_CHAIN::Move(), SHAPE_POLY_SET::Outline(), SHAPE_POLY_SET::OutlineCount(), pcbIUScale, POLY, FOOTPRINT::Rotate(), and SHAPE_LINE_CHAIN::Rotate().
|
static |
Definition at line 33 of file test_footprint.cpp.
References BOOST_REQUIRE(), KI_TEST::ChainsAreCyclicallyEqual(), SHAPE_POLY_SET::Outline(), SHAPE_POLY_SET::OutlineCount(), and pcbIUScale.
Referenced by BOOST_AUTO_TEST_CASE().