diff options
author | Garret Fick <garret@ficksworkshop.com> | 2016-07-24 22:08:31 +0800 |
---|---|---|
committer | Garret Fick <garret@ficksworkshop.com> | 2016-07-24 22:08:31 +0800 |
commit | 965d3ce23b92f8aff1063debd6d3364de15791fe (patch) | |
tree | 304ac755578479554ed812da87c782e9f6772582 /gerber/tests/golden | |
parent | 7cd6acf12670f3773113f67ed2acb35cb21c32a0 (diff) | |
download | gerbonara-965d3ce23b92f8aff1063debd6d3364de15791fe.tar.gz gerbonara-965d3ce23b92f8aff1063debd6d3364de15791fe.tar.bz2 gerbonara-965d3ce23b92f8aff1063debd6d3364de15791fe.zip |
Add more tests for rendering to PNG. Start adding tests for rendering to Gerber format. Changed definition of no hole to use None instead of 0 so we can differentiate when writing to Gerber format. Makde polygon use hole diameter instead of hole radius to match other primitives
Diffstat (limited to 'gerber/tests/golden')
-rw-r--r-- | gerber/tests/golden/example_am_exposure_modifier.png | bin | 0 -> 10091 bytes | |||
-rw-r--r-- | gerber/tests/golden/example_holes_dont_clear.png | bin | 0 -> 11552 bytes | |||
-rw-r--r-- | gerber/tests/golden/example_two_square_boxes.gbr | 16 |
3 files changed, 16 insertions, 0 deletions
diff --git a/gerber/tests/golden/example_am_exposure_modifier.png b/gerber/tests/golden/example_am_exposure_modifier.png Binary files differnew file mode 100644 index 0000000..dac951f --- /dev/null +++ b/gerber/tests/golden/example_am_exposure_modifier.png diff --git a/gerber/tests/golden/example_holes_dont_clear.png b/gerber/tests/golden/example_holes_dont_clear.png Binary files differnew file mode 100644 index 0000000..7efb67b --- /dev/null +++ b/gerber/tests/golden/example_holes_dont_clear.png diff --git a/gerber/tests/golden/example_two_square_boxes.gbr b/gerber/tests/golden/example_two_square_boxes.gbr new file mode 100644 index 0000000..b5c60d1 --- /dev/null +++ b/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* |