From 4eb0e063bcd34c21b737023aa6ed5baed80658d1 Mon Sep 17 00:00:00 2001 From: jaseg Date: Sun, 13 Jun 2021 15:00:17 +0200 Subject: Repo re-org, make gerberex tests run --- .../tests/golden/example_am_exposure_modifier.png | Bin 0 -> 10091 bytes .../gerber/tests/golden/example_coincident_hole.png | Bin 0 -> 47261 bytes .../gerber/tests/golden/example_cutin_multiple.png | Bin 0 -> 1348 bytes gerbonara/gerber/tests/golden/example_flash_circle.png | Bin 0 -> 5978 bytes gerbonara/gerber/tests/golden/example_flash_obround.png | Bin 0 -> 3443 bytes gerbonara/gerber/tests/golden/example_flash_polygon.png | Bin 0 -> 4087 bytes .../gerber/tests/golden/example_flash_rectangle.png | Bin 0 -> 1731 bytes .../gerber/tests/golden/example_fully_coincident.png | Bin 0 -> 71825 bytes .../gerber/tests/golden/example_holes_dont_clear.png | Bin 0 -> 11552 bytes .../tests/golden/example_not_overlapping_contour.png | Bin 0 -> 71825 bytes .../tests/golden/example_not_overlapping_touching.png | Bin 0 -> 96557 bytes .../gerber/tests/golden/example_overlapping_contour.png | Bin 0 -> 33301 bytes .../tests/golden/example_overlapping_touching.png | Bin 0 -> 33301 bytes .../gerber/tests/golden/example_simple_contour.png | Bin 0 -> 31830 bytes .../gerber/tests/golden/example_single_contour.png | Bin 0 -> 556 bytes .../gerber/tests/golden/example_single_contour_3.png | Bin 0 -> 2297 bytes .../gerber/tests/golden/example_single_quadrant.gbr | 16 ++++++++++++++++ .../gerber/tests/golden/example_single_quadrant.png | Bin 0 -> 9658 bytes .../gerber/tests/golden/example_two_square_boxes.gbr | 16 ++++++++++++++++ .../gerber/tests/golden/example_two_square_boxes.png | Bin 0 -> 18219 bytes 20 files changed, 32 insertions(+) create mode 100644 gerbonara/gerber/tests/golden/example_am_exposure_modifier.png create mode 100644 gerbonara/gerber/tests/golden/example_coincident_hole.png create mode 100644 gerbonara/gerber/tests/golden/example_cutin_multiple.png create mode 100644 gerbonara/gerber/tests/golden/example_flash_circle.png create mode 100644 gerbonara/gerber/tests/golden/example_flash_obround.png create mode 100644 gerbonara/gerber/tests/golden/example_flash_polygon.png create mode 100644 gerbonara/gerber/tests/golden/example_flash_rectangle.png create mode 100644 gerbonara/gerber/tests/golden/example_fully_coincident.png create mode 100644 gerbonara/gerber/tests/golden/example_holes_dont_clear.png create mode 100644 gerbonara/gerber/tests/golden/example_not_overlapping_contour.png create mode 100644 gerbonara/gerber/tests/golden/example_not_overlapping_touching.png create mode 100644 gerbonara/gerber/tests/golden/example_overlapping_contour.png create mode 100644 gerbonara/gerber/tests/golden/example_overlapping_touching.png create mode 100644 gerbonara/gerber/tests/golden/example_simple_contour.png create mode 100644 gerbonara/gerber/tests/golden/example_single_contour.png create mode 100644 gerbonara/gerber/tests/golden/example_single_contour_3.png create mode 100644 gerbonara/gerber/tests/golden/example_single_quadrant.gbr create mode 100644 gerbonara/gerber/tests/golden/example_single_quadrant.png create mode 100644 gerbonara/gerber/tests/golden/example_two_square_boxes.gbr create mode 100644 gerbonara/gerber/tests/golden/example_two_square_boxes.png (limited to 'gerbonara/gerber/tests/golden') diff --git a/gerbonara/gerber/tests/golden/example_am_exposure_modifier.png b/gerbonara/gerber/tests/golden/example_am_exposure_modifier.png new file mode 100644 index 0000000..dac951f Binary files /dev/null and b/gerbonara/gerber/tests/golden/example_am_exposure_modifier.png differ diff --git a/gerbonara/gerber/tests/golden/example_coincident_hole.png b/gerbonara/gerber/tests/golden/example_coincident_hole.png new file mode 100644 index 0000000..9855b11 Binary files /dev/null and b/gerbonara/gerber/tests/golden/example_coincident_hole.png differ diff --git a/gerbonara/gerber/tests/golden/example_cutin_multiple.png b/gerbonara/gerber/tests/golden/example_cutin_multiple.png new file mode 100644 index 0000000..ebc1191 Binary files /dev/null and b/gerbonara/gerber/tests/golden/example_cutin_multiple.png differ diff --git a/gerbonara/gerber/tests/golden/example_flash_circle.png b/gerbonara/gerber/tests/golden/example_flash_circle.png new file mode 100644 index 0000000..0c407f6 Binary files /dev/null and b/gerbonara/gerber/tests/golden/example_flash_circle.png differ diff --git a/gerbonara/gerber/tests/golden/example_flash_obround.png b/gerbonara/gerber/tests/golden/example_flash_obround.png new file mode 100644 index 0000000..2fd4dc3 Binary files /dev/null and b/gerbonara/gerber/tests/golden/example_flash_obround.png differ diff --git a/gerbonara/gerber/tests/golden/example_flash_polygon.png b/gerbonara/gerber/tests/golden/example_flash_polygon.png new file mode 100644 index 0000000..89a964b Binary files /dev/null and b/gerbonara/gerber/tests/golden/example_flash_polygon.png differ diff --git a/gerbonara/gerber/tests/golden/example_flash_rectangle.png b/gerbonara/gerber/tests/golden/example_flash_rectangle.png new file mode 100644 index 0000000..797e0c3 Binary files /dev/null and b/gerbonara/gerber/tests/golden/example_flash_rectangle.png differ diff --git a/gerbonara/gerber/tests/golden/example_fully_coincident.png b/gerbonara/gerber/tests/golden/example_fully_coincident.png new file mode 100644 index 0000000..4e522ff Binary files /dev/null and b/gerbonara/gerber/tests/golden/example_fully_coincident.png differ diff --git a/gerbonara/gerber/tests/golden/example_holes_dont_clear.png b/gerbonara/gerber/tests/golden/example_holes_dont_clear.png new file mode 100644 index 0000000..7efb67b Binary files /dev/null and b/gerbonara/gerber/tests/golden/example_holes_dont_clear.png differ diff --git a/gerbonara/gerber/tests/golden/example_not_overlapping_contour.png b/gerbonara/gerber/tests/golden/example_not_overlapping_contour.png new file mode 100644 index 0000000..4e522ff Binary files /dev/null and b/gerbonara/gerber/tests/golden/example_not_overlapping_contour.png differ diff --git a/gerbonara/gerber/tests/golden/example_not_overlapping_touching.png b/gerbonara/gerber/tests/golden/example_not_overlapping_touching.png new file mode 100644 index 0000000..d485495 Binary files /dev/null and b/gerbonara/gerber/tests/golden/example_not_overlapping_touching.png differ diff --git a/gerbonara/gerber/tests/golden/example_overlapping_contour.png b/gerbonara/gerber/tests/golden/example_overlapping_contour.png new file mode 100644 index 0000000..7504311 Binary files /dev/null and b/gerbonara/gerber/tests/golden/example_overlapping_contour.png differ diff --git a/gerbonara/gerber/tests/golden/example_overlapping_touching.png b/gerbonara/gerber/tests/golden/example_overlapping_touching.png new file mode 100644 index 0000000..7504311 Binary files /dev/null and b/gerbonara/gerber/tests/golden/example_overlapping_touching.png differ diff --git a/gerbonara/gerber/tests/golden/example_simple_contour.png b/gerbonara/gerber/tests/golden/example_simple_contour.png new file mode 100644 index 0000000..564ae14 Binary files /dev/null and b/gerbonara/gerber/tests/golden/example_simple_contour.png differ diff --git a/gerbonara/gerber/tests/golden/example_single_contour.png b/gerbonara/gerber/tests/golden/example_single_contour.png new file mode 100644 index 0000000..3341638 Binary files /dev/null and b/gerbonara/gerber/tests/golden/example_single_contour.png differ diff --git a/gerbonara/gerber/tests/golden/example_single_contour_3.png b/gerbonara/gerber/tests/golden/example_single_contour_3.png new file mode 100644 index 0000000..1eecfee Binary files /dev/null and b/gerbonara/gerber/tests/golden/example_single_contour_3.png differ diff --git a/gerbonara/gerber/tests/golden/example_single_quadrant.gbr b/gerbonara/gerber/tests/golden/example_single_quadrant.gbr new file mode 100644 index 0000000..b0a3166 --- /dev/null +++ b/gerbonara/gerber/tests/golden/example_single_quadrant.gbr @@ -0,0 +1,16 @@ +%FSLAX23Y23*% +%MOIN*% +%ADD10C,0.01*% +G74* +D10* +%LPD*% +G01X1100Y600D02* +G03X700Y1000I-400J0D01* +G03X300Y600I0J-400D01* +G03X700Y200I400J0D01* +G03X1100Y600I0J400D01* +G01X300D02* +X1100D01* +X700Y200D02* +Y1000D01* +M02* diff --git a/gerbonara/gerber/tests/golden/example_single_quadrant.png b/gerbonara/gerber/tests/golden/example_single_quadrant.png new file mode 100644 index 0000000..89b763f Binary files /dev/null and b/gerbonara/gerber/tests/golden/example_single_quadrant.png differ diff --git a/gerbonara/gerber/tests/golden/example_two_square_boxes.gbr b/gerbonara/gerber/tests/golden/example_two_square_boxes.gbr new file mode 100644 index 0000000..b5c60d1 --- /dev/null +++ b/gerbonara/gerber/tests/golden/example_two_square_boxes.gbr @@ -0,0 +1,16 @@ +%FSLAX25Y25*% +%MOMM*% +%ADD10C,0.01*% +D10* +%LPD*% +G01X0Y0D02* +X500000D01* +Y500000D01* +X0D01* +Y0D01* +X600000D02* +X1100000D01* +Y500000D01* +X600000D01* +Y0D01* +M02* diff --git a/gerbonara/gerber/tests/golden/example_two_square_boxes.png b/gerbonara/gerber/tests/golden/example_two_square_boxes.png new file mode 100644 index 0000000..98d0518 Binary files /dev/null and b/gerbonara/gerber/tests/golden/example_two_square_boxes.png differ -- cgit