summaryrefslogtreecommitdiff
path: root/gerbonara/gerber/tests/test_rs274x_backend.py
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2021-06-14 00:31:55 +0200
committerjaseg <git@jaseg.de>2021-06-14 00:31:55 +0200
commite38a983c398d5577008926f2cc9c0803b99e8fa9 (patch)
tree333c27d62fc7952431e0e7114ac3047a929c35bd /gerbonara/gerber/tests/test_rs274x_backend.py
parent62ef8a1483c9fd3cbd11988db1bb3bf17d98d68b (diff)
downloadgerbonara-e38a983c398d5577008926f2cc9c0803b99e8fa9.tar.gz
gerbonara-e38a983c398d5577008926f2cc9c0803b99e8fa9.tar.bz2
gerbonara-e38a983c398d5577008926f2cc9c0803b99e8fa9.zip
Remove dead code from rs274x backend tests
Diffstat (limited to 'gerbonara/gerber/tests/test_rs274x_backend.py')
-rw-r--r--gerbonara/gerber/tests/test_rs274x_backend.py164
1 files changed, 0 insertions, 164 deletions
diff --git a/gerbonara/gerber/tests/test_rs274x_backend.py b/gerbonara/gerber/tests/test_rs274x_backend.py
index 13347c5..ac39c8f 100644
--- a/gerbonara/gerber/tests/test_rs274x_backend.py
+++ b/gerbonara/gerber/tests/test_rs274x_backend.py
@@ -15,170 +15,6 @@ def test_render_two_boxes():
"resources/example_two_square_boxes.gbr", "golden/example_two_square_boxes.gbr"
)
-
-def _test_render_single_quadrant():
- """Umaco exapmle of a single quadrant arc"""
-
- # TODO there is probably a bug here
- _test_render(
- "resources/example_single_quadrant.gbr", "golden/example_single_quadrant.gbr"
- )
-
-
-def _test_render_simple_contour():
- """Umaco exapmle of a simple arrow-shaped contour"""
- _test_render(
- "resources/example_simple_contour.gbr", "golden/example_simple_contour.gbr"
- )
-
-
-def _test_render_single_contour_1():
- """Umaco example of a single contour
-
- The resulting image for this test is used by other tests because they must generate the same output."""
- _test_render(
- "resources/example_single_contour_1.gbr", "golden/example_single_contour.gbr"
- )
-
-
-def _test_render_single_contour_2():
- """Umaco exapmle of a single contour, alternate contour end order
-
- The resulting image for this test is used by other tests because they must generate the same output."""
- _test_render(
- "resources/example_single_contour_2.gbr", "golden/example_single_contour.gbr"
- )
-
-
-def _test_render_single_contour_3():
- """Umaco exapmle of a single contour with extra line"""
- _test_render(
- "resources/example_single_contour_3.gbr", "golden/example_single_contour_3.gbr"
- )
-
-
-def _test_render_not_overlapping_contour():
- """Umaco example of D02 staring a second contour"""
- _test_render(
- "resources/example_not_overlapping_contour.gbr",
- "golden/example_not_overlapping_contour.gbr",
- )
-
-
-def _test_render_not_overlapping_touching():
- """Umaco example of D02 staring a second contour"""
- _test_render(
- "resources/example_not_overlapping_touching.gbr",
- "golden/example_not_overlapping_touching.gbr",
- )
-
-
-def _test_render_overlapping_touching():
- """Umaco example of D02 staring a second contour"""
- _test_render(
- "resources/example_overlapping_touching.gbr",
- "golden/example_overlapping_touching.gbr",
- )
-
-
-def _test_render_overlapping_contour():
- """Umaco example of D02 staring a second contour"""
- _test_render(
- "resources/example_overlapping_contour.gbr",
- "golden/example_overlapping_contour.gbr",
- )
-
-
-def _DISABLED_test_render_level_holes():
- """Umaco example of using multiple levels to create multiple holes"""
-
- # TODO This is clearly rendering wrong. I'm temporarily checking this in because there are more
- # rendering fixes in the related repository that may resolve these.
- _test_render(
- "resources/example_level_holes.gbr", "golden/example_overlapping_contour.gbr"
- )
-
-
-def _DISABLED_test_render_cutin():
- """Umaco example of using a cutin"""
-
- # TODO This is clearly rendering wrong.
- _test_render("resources/example_cutin.gbr", "golden/example_cutin.gbr")
-
-
-def _test_render_fully_coincident():
- """Umaco example of coincident lines rendering two contours"""
-
- _test_render(
- "resources/example_fully_coincident.gbr", "golden/example_fully_coincident.gbr"
- )
-
-
-def _test_render_coincident_hole():
- """Umaco example of coincident lines rendering a hole in the contour"""
-
- _test_render(
- "resources/example_coincident_hole.gbr", "golden/example_coincident_hole.gbr"
- )
-
-
-def _test_render_cutin_multiple():
- """Umaco example of a region with multiple cutins"""
-
- _test_render(
- "resources/example_cutin_multiple.gbr", "golden/example_cutin_multiple.gbr"
- )
-
-
-def _test_flash_circle():
- """Umaco example a simple circular flash with and without a hole"""
-
- _test_render(
- "resources/example_flash_circle.gbr", "golden/example_flash_circle.gbr"
- )
-
-
-def _test_flash_rectangle():
- """Umaco example a simple rectangular flash with and without a hole"""
-
- _test_render(
- "resources/example_flash_rectangle.gbr", "golden/example_flash_rectangle.gbr"
- )
-
-
-def _test_flash_obround():
- """Umaco example a simple obround flash with and without a hole"""
-
- _test_render(
- "resources/example_flash_obround.gbr", "golden/example_flash_obround.gbr"
- )
-
-
-def _test_flash_polygon():
- """Umaco example a simple polygon flash with and without a hole"""
-
- _test_render(
- "resources/example_flash_polygon.gbr", "golden/example_flash_polygon.gbr"
- )
-
-
-def _test_holes_dont_clear():
- """Umaco example that an aperture with a hole does not clear the area"""
-
- _test_render(
- "resources/example_holes_dont_clear.gbr", "golden/example_holes_dont_clear.gbr"
- )
-
-
-def _test_render_am_exposure_modifier():
- """Umaco example that an aperture macro with a hole does not clear the area"""
-
- _test_render(
- "resources/example_am_exposure_modifier.gbr",
- "golden/example_am_exposure_modifier.gbr",
- )
-
-
def _resolve_path(path):
return os.path.join(os.path.dirname(__file__), path)