diff options
author | jaseg <git@jaseg.de> | 2022-06-21 10:52:03 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2022-06-21 10:52:03 +0200 |
commit | 4bd438e9ccba58eecaa848f781eeeace4fb81d3a (patch) | |
tree | b340a8799e6b8716a9fba735d9296bc3a1862043 | |
parent | 8ddeb65b3f44f7ef95ff77ab0a8c5bed7f062bd4 (diff) | |
download | gerbonara-4bd438e9ccba58eecaa848f781eeeace4fb81d3a.tar.gz gerbonara-4bd438e9ccba58eecaa848f781eeeace4fb81d3a.tar.bz2 gerbonara-4bd438e9ccba58eecaa848f781eeeace4fb81d3a.zip |
Add missing test data files
-rw-r--r-- | gerbonara/tests/resources/test_syntax_error.exc | 53 | ||||
-rw-r--r-- | gerbonara/tests/resources/test_syntax_error.gbr | 19 |
2 files changed, 72 insertions, 0 deletions
diff --git a/gerbonara/tests/resources/test_syntax_error.exc b/gerbonara/tests/resources/test_syntax_error.exc new file mode 100644 index 0000000..1a7fa68 --- /dev/null +++ b/gerbonara/tests/resources/test_syntax_error.exc @@ -0,0 +1,53 @@ +; Syntax error test file. +% +M48 +M72 +T01C0.0236 +T02C0.0354 +T03C0.0400 +T04C0.1260 +T05C0.1280 +% +; Attempt to use undefined tool index +T99 +X9250Y4064 +X12100Y5314 +X13500Y6864 +X15650Y6264 +X15200Y4514 +X13550Y8764 +X13350Y10114 +X13300Y11464 +X11650Y13164 +X10000Y15114 +X6500Y13714 +X4150Y11564 +X14250Y14964 +X15850Y9914 +T02 +X17200Y9464 +X18200Y9964 +X18200Y10964 +X17200Y10464 +X17200Y11464 +X18200Y11964 +T03 +X18350Y16814 +X17350Y16814 +X7350Y16964 +X6350Y16964 +X5350Y16964 +X1500Y12564 +X1500Y11564 +X1500Y10564 +X1500Y9564 +X1500Y8564 +T04 +X2350Y5114 +X2300Y16064 +X20800Y16064 +X20800Y5064 +T05 +X20700Y8714 +X20700Y12714 +M30 diff --git a/gerbonara/tests/resources/test_syntax_error.gbr b/gerbonara/tests/resources/test_syntax_error.gbr new file mode 100644 index 0000000..a8d18b2 --- /dev/null +++ b/gerbonara/tests/resources/test_syntax_error.gbr @@ -0,0 +1,19 @@ +G04 Syntactically invalid file * +%FSLAX25Y25*% +%MOMM*% +%LPD*% +%ADD10C,0.010*% +G04 Try to use undefined aperture * +D99* +X0Y0D02* +G01* +X500000Y0D01* +Y500000D01* +X0D01* +Y0D01* +X600000D02* +X1100000D01* +Y500000D01* +X600000D01* +Y0D01* +M02* |