Count thermal vias in the courtyard against min_via_count.

Skip without courtyard geometry or a numeric count — no pad-radius default. Tests use simple_project plus explicit coordinates as parameters.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-10 23:39:05 +02:00
co-authored by Cursor
parent 45e820fabc
commit 0fafbbbb06
7 changed files with 188 additions and 85 deletions
+1
View File
@@ -49,6 +49,7 @@ def test_parse_footprint_pads_and_nets(tmp_path: Path):
assert by_num["2"].net == "GND"
assert by_num["1"].x == pytest.approx(9.25)
assert by_num["2"].x == pytest.approx(10.75)
assert r1.courtyard == []
def test_parse_segment_and_via_resolve_net_name(tmp_path: Path):