From 4cbda84aa61158c06acc78aac4b318bbea5b6214 Mon Sep 17 00:00:00 2001 From: jaseg Date: Fri, 4 Feb 2022 22:10:19 +0100 Subject: More doc, fix tests --- gerbonara/tests/test_excellon.py | 6 ------ gerbonara/tests/test_layers.py | 16 ---------------- 2 files changed, 22 deletions(-) (limited to 'gerbonara/tests') 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', -- cgit