KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_pns_basics.cpp File Reference

Go to the source code of this file.

Classes

class  MOCK_RULE_RESOLVER
 
struct  MOCK_RULE_RESOLVER::ITEM_KEY
 
class  MOCK_PNS_KICAD_IFACE
 
class  PNS_TEST_FIXTURE
 

Functions

static bool isCopper (const PNS::ITEM *aItem)
 
static bool isHole (const PNS::ITEM *aItem)
 
static bool isEdge (const PNS::ITEM *aItem)
 
static void dumpObstacles (const PNS::NODE::OBSTACLES &obstacles)
 
 BOOST_FIXTURE_TEST_CASE (PNSHoleCollisions, PNS_TEST_FIXTURE)
 

Function Documentation

◆ BOOST_FIXTURE_TEST_CASE()

BOOST_FIXTURE_TEST_CASE ( PNSHoleCollisions  ,
PNS_TEST_FIXTURE   
)

Definition at line 338 of file test_pns_basics.cpp.

References B_Cu, dumpObstacles(), F_Cu, v1, and v2.

◆ dumpObstacles()

static void dumpObstacles ( const PNS::NODE::OBSTACLES obstacles)
static

Definition at line 327 of file test_pns_basics.cpp.

Referenced by BOOST_FIXTURE_TEST_CASE().

◆ isCopper()

static bool isCopper ( const PNS::ITEM aItem)
static

◆ isEdge()

static bool isEdge ( const PNS::ITEM aItem)
static

◆ isHole()

static bool isHole ( const PNS::ITEM aItem)
static

Definition at line 70 of file test_pns_basics.cpp.

References PNS::ITEM::HOLE_T, and PNS::ITEM::OfKind().

Referenced by MOCK_RULE_RESOLVER::Clearance().