Add missing test data files
This commit is contained in:
parent
8ddeb65b3f
commit
4bd438e9cc
2 changed files with 72 additions and 0 deletions
53
gerbonara/tests/resources/test_syntax_error.exc
Normal file
53
gerbonara/tests/resources/test_syntax_error.exc
Normal file
|
|
@ -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
|
||||
19
gerbonara/tests/resources/test_syntax_error.gbr
Normal file
19
gerbonara/tests/resources/test_syntax_error.gbr
Normal file
|
|
@ -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*
|
||||
Loading…
Add table
Add a link
Reference in a new issue