Skip to content

add regression tests for POLYGON pad parts C2879853, C5360621, C9900014805 - #395

Open
Swately wants to merge 2 commits into
tscircuit:mainfrom
Swately:rep0/polygon-pad-support
Open

add regression tests for POLYGON pad parts C2879853, C5360621, C9900014805#395
Swately wants to merge 2 commits into
tscircuit:mainfrom
Swately:rep0/polygon-pad-support

Conversation

@Swately

@Swately Swately commented Jun 11, 2026

Copy link
Copy Markdown

The POLYGON pad fix landed in #289, but the parts from the open issues never got regression tests, so the issues stayed open.

This adds the raw fixtures + snapshot tests for the three reported parts:

All three used to fail with Invalid enum value. Expected 'RECT' | 'ELLIPSE' | 'OVAL', received 'POLYGON' and now convert correctly. Full suite: 107 pass / 0 fail.

Note: C2879853 and C9900014805 share identical pad geometry (same footprint), so their 3d snapshots are byte-identical — checked, not an accident.

Fixes #218
Fixes #239
Fixes #240

Swately and others added 2 commits June 11, 2026 12:32
…rcuit#218 tscircuit#240)

Both parts have POLYGON-shaped SMT pads. The fix for the PadSchema enum
was landed in tscircuit#289; this commit adds the missing regression tests so the
fix is covered going forward.
…ix ref tscircuit#289)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[C2879853] Failed to import from JLCPCB [C9900014805] Failed to import from JLCPCB [C5360621] Failed to import from JLCPCB

1 participant