KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_footprint.cpp File Reference
#include <qa_utils/wx_utils/unit_test_utils.h>
#include <qa_utils/geometry/geometry.h>
#include <utility>
#include <board.h>
#include <core/kicad_algo.h>
#include <embedded_files.h>
#include <geometry/shape_utils.h>
#include <footprint.h>
#include <mmh3_hash.h>
#include <pcb_field.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 (FootprintCloneSharesEmbeddedFiles)
 
 BOOST_AUTO_TEST_CASE (FootprintBoundingBoxWithoutMandatoryFields)
 
 BOOST_AUTO_TEST_CASE (FootprintUpdateFieldsReusesMandatoryFields)
 
 BOOST_AUTO_TEST_CASE (FootprintUpdateFieldsInvalidatesGeometryCache)
 
 BOOST_AUTO_TEST_CASE (FootprintUpdateFieldsRestoresMissingMandatoryField)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/6]

BOOST_AUTO_TEST_CASE ( FootprintBoundingBoxWithoutMandatoryFields )

◆ BOOST_AUTO_TEST_CASE() [2/6]

◆ BOOST_AUTO_TEST_CASE() [3/6]

◆ BOOST_AUTO_TEST_CASE() [4/6]

BOOST_AUTO_TEST_CASE ( FootprintUpdateFieldsInvalidatesGeometryCache )

◆ BOOST_AUTO_TEST_CASE() [5/6]

BOOST_AUTO_TEST_CASE ( FootprintUpdateFieldsRestoresMissingMandatoryField )

◆ BOOST_AUTO_TEST_CASE() [6/6]

◆ CourtyardEqualPredicate()

static bool CourtyardEqualPredicate ( const SHAPE_POLY_SET & a,
const SHAPE_POLY_SET & b )
static