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