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

Regression test for issue #23389: creepage DRC must treat NPTH slots as board edges. More...

Go to the source code of this file.

Classes

struct  DRC_CREEPAGE_NPTH_SLOT_FIXTURE
 

Functions

 BOOST_FIXTURE_TEST_CASE (CreepageNPTHSlotIssue23389, DRC_CREEPAGE_NPTH_SLOT_FIXTURE)
 

Detailed Description

Regression test for issue #23389: creepage DRC must treat NPTH slots as board edges.

The board has multiple 'Sitove' netclass pads around a 5mm x 1mm NPTH oval slot with a 5mm creepage rule. Correct slot modeling (arcs + segments) produces 4 violations, two with actual distances above 4mm. With the old oversized-circle representation (radius 2.5mm instead of 0.5mm), those paths exceeded 5mm and were not reported.

Definition in file test_drc_creepage_issue23389.cpp.

Function Documentation

◆ BOOST_FIXTURE_TEST_CASE()