mirror of
https://github.com/diodeinc/pcb.git
synced 2026-09-14 20:17:19 +08:00
4413c9d4d9
* Hydrate V2 deps during migrate * Fix mixed hydrated package resolution * Simplify workspace discovery * Clean up workspace package discovery naming * Update stdlib formatting paths
18 lines
514 B
Python
18 lines
514 B
Python
"""Comprehensive test for Fiducial component."""
|
|
|
|
load("../../properties.zen", "Layout")
|
|
|
|
Fiducial = Module("../Fiducial.zen")
|
|
|
|
# Test all Variant values
|
|
for variant in Fiducial.Variant.values():
|
|
# Skip Cross variant if not available in standard KiCad libraries
|
|
if "Cross" in str(variant):
|
|
continue
|
|
# Replace dots and special characters in variant name for valid component names
|
|
name = "FID_" + str(variant).replace(".", "_")
|
|
Fiducial(
|
|
name=name,
|
|
variant=variant,
|
|
)
|