summaryrefslogtreecommitdiff
path: root/gerbonara/tests
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2022-02-04 22:10:19 +0100
committerjaseg <git@jaseg.de>2022-02-04 22:10:19 +0100
commit4cbda84aa61158c06acc78aac4b318bbea5b6214 (patch)
tree7b5724b019324bbadd862076ece399a73a670b90 /gerbonara/tests
parenteaf4f21ce65081da0490a41ee1829b4ec8319109 (diff)
downloadgerbonara-4cbda84aa61158c06acc78aac4b318bbea5b6214.tar.gz
gerbonara-4cbda84aa61158c06acc78aac4b318bbea5b6214.tar.bz2
gerbonara-4cbda84aa61158c06acc78aac4b318bbea5b6214.zip
More doc, fix tests
Diffstat (limited to 'gerbonara/tests')
-rw-r--r--gerbonara/tests/test_excellon.py6
-rw-r--r--gerbonara/tests/test_layers.py16
2 files changed, 0 insertions, 22 deletions
diff --git a/gerbonara/tests/test_excellon.py b/gerbonara/tests/test_excellon.py
index 2d2b32a..3b0418d 100644
--- a/gerbonara/tests/test_excellon.py
+++ b/gerbonara/tests/test_excellon.py
@@ -131,8 +131,6 @@ def test_gerber_alignment(reference, tmpfile, print_on_error):
for obj in gerf.objects:
if isinstance(obj, Flash):
x, y = obj.unit.convert_to(MM, obj.x), obj.unit.convert_to(MM, obj.y)
- if abs(x - 121.525) < 2 and abs(y - 64) < 2:
- print(obj)
flash_coords.append((x, y))
tree = KDTree(flash_coords, copy_data=True)
@@ -144,10 +142,6 @@ def test_gerber_alignment(reference, tmpfile, print_on_error):
if obj.plated in (True, None):
total += 1
x, y = obj.unit.convert_to(MM, obj.x), obj.unit.convert_to(MM, obj.y)
- print((x, y), end=' ')
- if abs(x - 121.525) < 2 and abs(y - 64) < 2:
- print(obj)
- print(' ', tree.query_ball_point((x, y), r=tolerance))
if tree.query_ball_point((x, y), r=tolerance):
matches += 1
diff --git a/gerbonara/tests/test_layers.py b/gerbonara/tests/test_layers.py
index 795af25..c41c02d 100644
--- a/gerbonara/tests/test_layers.py
+++ b/gerbonara/tests/test_layers.py
@@ -275,22 +275,6 @@ REFERENCE_DIRS = {
'NCDrill/ThruHolePlated.ncd': 'drill plated',
},
- 'zuken': {
- '': 'mechanical outline',
- 'Gerber/DrillDrawingThrough.gdo': None,
- 'Gerber/EtchLayerBottom.gdo': 'bottom copper',
- 'Gerber/EtchLayerTop.gdo': 'top copper',
- 'Gerber/GerberPlot.gpf': None,
- 'Gerber/PCB.dsn': None,
- 'Gerber/SolderPasteBottom.gdo': 'bottom paste',
- 'Gerber/SolderPasteTop.gdo': 'top paste',
- 'Gerber/SoldermaskBottom.gdo': 'bottom mask',
- 'Gerber/SoldermaskTop.gdo': 'top mask',
- 'NCDrill/ContourPlated.ncd': 'mechanical outline',
- 'NCDrill/ThruHoleNonPlated.ncd': 'drill nonplated',
- 'NCDrill/ThruHolePlated.ncd': 'drill plated',
- },
-
'upverter': {
'design_export.drl': 'drill unknown',
'design_export.gbl': 'bottom copper',