feat(review): add deterministic GDS dumps and structural comparisons
Read embedded layer-name labels, retain unsupported records, and report affected hierarchy as ASCII or Mermaid. Preserve duplicate objects, canonicalize polygon rings, and cover the first profile with ten fixture pairs and golden outputs.
This commit is contained in:
parent
4108baf0a1
commit
a04a955e90
3 changed files with 2160 additions and 0 deletions
8
tests/golden/review-canonical.txt
Normal file
8
tests/golden/review-canonical.txt
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
profile klamath-object-v1
|
||||
coordinates: integer database units; bounds: coordinate envelopes
|
||||
HEADER=[600]
|
||||
LIBNAME="test"
|
||||
UNITS=[0.001, 9.999999999999999e-10] raw=0x3f04189374bc6a7f3a044b82fa09b5a5
|
||||
layer 1/0 name="WG"
|
||||
cell "CHIP"
|
||||
BOUNDARY layer=1 datatype=0 xy=[0, 0, 0, 10, 10, 10, 10, 0, 0, 0]
|
||||
9
tests/golden/review-hierarchy.mmd
Normal file
9
tests/golden/review-hierarchy.mmd
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
flowchart TD
|
||||
n0["CHIP [affected]"]
|
||||
n1["leaf [cell changed]"]
|
||||
n2["left [affected]"]
|
||||
n3["right [affected]"]
|
||||
n0 -->|"x1"| n2
|
||||
n0 -->|"x1"| n3
|
||||
n2 -->|"x2"| n1
|
||||
n3 -->|"x3"| n1
|
||||
5
tests/golden/review-hierarchy.txt
Normal file
5
tests/golden/review-hierarchy.txt
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
"CHIP" x1 [affected]
|
||||
"left" x1 [affected]
|
||||
"leaf" x2 [cell changed]
|
||||
"right" x1 [affected]
|
||||
"leaf" x3 [cell changed] [shown above]
|
||||
Loading…
Reference in a new issue