98 BOOST_REQUIRE_MESSAGE( m_board,
"Failed to load board issue24355" );
99 BOOST_REQUIRE_EQUAL( m_board->Footprints().size(), 1 );
101 FOOTPRINT* fp = m_board->Footprints().front();
102 BOOST_REQUIRE_EQUAL( fp->
Pads().size(), 2 );
111 "Fixture pad order changed: expected NPTH first." );
113 "Fixture pad order changed: expected PTH second." );
114 BOOST_WARN_MESSAGE(
static_cast<void*
>( first ) <
static_cast<void*
>( second ),
115 "Heap put PTH below NPTH; the bug may not trigger in this run." );
117 int holeClearanceCount = 0;
120 BOOST_REQUIRE_MESSAGE( bds.
m_DRCEngine,
"DRC engine not initialized" );
128 [&](
const std::shared_ptr<DRC_ITEM>& aItem,
const VECTOR2I& ,
int ,
132 ++holeClearanceCount;
139 BOOST_TEST_MESSAGE( wxString::Format(
"Hole clearance violations: %d", holeClearanceCount ) );
BOOST_CHECK_EQUAL(result, "25.4")