mirror of
https://github.com/KLayout/klayout.git
synced 2026-08-30 17:53:00 +02:00
Added more tests, debugging.
This commit is contained in:
Vendored
+24
@@ -0,0 +1,24 @@
|
||||
|
||||
source $drc_test_source
|
||||
target $drc_test_target
|
||||
|
||||
if $drc_test_deep
|
||||
deep
|
||||
threads(0) # easier to debug
|
||||
end
|
||||
|
||||
l1 = input(1, 0)
|
||||
l2 = input(2, 0)
|
||||
l3 = input(3, 0)
|
||||
|
||||
l1.output(1, 0)
|
||||
l2.output(2, 0)
|
||||
l3.output(3, 0)
|
||||
|
||||
# bbox_predicates
|
||||
|
||||
l1.drc(bbox_min > 2.0).output(100, 0)
|
||||
l1.drc(bbox_max <= 2.0).output(101, 0)
|
||||
l1.drc(bbox_width > 3.0).output(102, 0)
|
||||
l1.drc(bbox_height > 11.0).output(103, 0)
|
||||
|
||||
Vendored
BIN
Binary file not shown.
Vendored
+3
@@ -39,3 +39,6 @@ l1.drc(! rectangles).output(141, 0)
|
||||
l1.drc(if_all(! rectangles, area < 8.0)).output(150, 0)
|
||||
l1.drc(if_any(rectangles, area > 8.0)).output(151, 0)
|
||||
|
||||
l1.drc(if_any(corners.count > 4)).output(160, 0)
|
||||
l1.drc(if_any(corners.count == 4)).output(161, 0)
|
||||
|
||||
|
||||
Vendored
BIN
Binary file not shown.
BIN
Binary file not shown.
Reference in New Issue
Block a user