46 int checkedHatches = 0;
48 for(
const FOOTPRINT* fp : m_board->Footprints() )
50 for(
const ZONE* zone : fp->Zones() )
52 BOX2I zoneBBox = zone->GetBoundingBox();
55 "Embedded zone of " << fp->GetReference()
56 <<
" is separated from its footprint" );
58 for(
const SEG& hatch : zone->GetHatchLines() )
63 "Hatch line of " << fp->GetReference()
64 <<
" lies outside the zone outline" );
71 BOOST_CHECK_GT( checkedZones, 0 );
72 BOOST_CHECK_GT( checkedHatches, 0 );