|
KiCad PCB EDA Suite
|
#include <qa_utils/wx_utils/unit_test_utils.h>#include <pcbnew_utils/board_construction_utils.h>#include <board.h>#include <footprint.h>#include <pcb_shape.h>#include <geometry/shape_poly_set.h>Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (UserLayerIgnoresCourtyard) | |
| A hatched shape on a User layer produces no knockouts, since the only same-layer item would be the front courtyard and that must not be subtracted from a non-courtyard layer. | |
| BOOST_AUTO_TEST_CASE (CourtyardLayerKnocksOutCourtyard) | |
| A hatched shape on the courtyard layer subtracts the footprint courtyard, so the knockouts contain the courtyard region. | |
| BOOST_AUTO_TEST_CASE | ( | CourtyardLayerKnocksOutCourtyard | ) |
A hatched shape on the courtyard layer subtracts the footprint courtyard, so the knockouts contain the courtyard region.
Definition at line 111 of file test_shape_hatch_knockout.cpp.
References SHAPE_POLY_SET::Area(), F_CrtYd, and SHAPE_POLY_SET::OutlineCount().
| BOOST_AUTO_TEST_CASE | ( | UserLayerIgnoresCourtyard | ) |
A hatched shape on a User layer produces no knockouts, since the only same-layer item would be the front courtyard and that must not be subtracted from a non-courtyard layer.
Definition at line 96 of file test_shape_hatch_knockout.cpp.
References BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), SHAPE_POLY_SET::OutlineCount(), and User_1.