继续按 align-linuxcnc 约束:补 reader 裸项错误源码覆盖,测试通过
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
G21 G90 F100
|
||||
G1 X5 [1]
|
||||
M30
|
||||
@@ -0,0 +1,3 @@
|
||||
G21 G90 F100
|
||||
G1 X5 ]
|
||||
M30
|
||||
@@ -0,0 +1,3 @@
|
||||
G21 G90 F100
|
||||
[1] G1 X5
|
||||
M30
|
||||
3
tests/gcode/linuxcnc_bad_character_top_number_error.ngc
Normal file
3
tests/gcode/linuxcnc_bad_character_top_number_error.ngc
Normal file
@@ -0,0 +1,3 @@
|
||||
G21 G90 F100
|
||||
1 G1 X5
|
||||
M30
|
||||
@@ -0,0 +1,3 @@
|
||||
G21 G90 F100
|
||||
] G1 X5
|
||||
M30
|
||||
3
tests/gcode/linuxcnc_midline_bare_atan_error.ngc
Normal file
3
tests/gcode/linuxcnc_midline_bare_atan_error.ngc
Normal file
@@ -0,0 +1,3 @@
|
||||
G21 G90 F100
|
||||
G1 X5 ATAN[1]/[1]
|
||||
M30
|
||||
3
tests/gcode/linuxcnc_midline_bare_unary_error.ngc
Normal file
3
tests/gcode/linuxcnc_midline_bare_unary_error.ngc
Normal file
@@ -0,0 +1,3 @@
|
||||
G21 G90 F100
|
||||
G1 X5 ABS[1]
|
||||
M30
|
||||
@@ -0,0 +1,3 @@
|
||||
G21 G90 F100
|
||||
G1 X5 #1
|
||||
M30
|
||||
3
tests/gcode/linuxcnc_top_level_bare_atan_error.ngc
Normal file
3
tests/gcode/linuxcnc_top_level_bare_atan_error.ngc
Normal file
@@ -0,0 +1,3 @@
|
||||
G21 G90 F100
|
||||
ATAN[1]/[1]
|
||||
M30
|
||||
3
tests/gcode/linuxcnc_top_level_bare_unary_error.ngc
Normal file
3
tests/gcode/linuxcnc_top_level_bare_unary_error.ngc
Normal file
@@ -0,0 +1,3 @@
|
||||
G21 G90 F100
|
||||
ABS[1]
|
||||
M30
|
||||
Reference in New Issue
Block a user