继续按 align-linuxcnc 约束:补主轴选择和 M19 校验源码覆盖,测试通过
This commit is contained in:
3
tests/gcode/linuxcnc_m19_p_not_integer_error.ngc
Normal file
3
tests/gcode/linuxcnc_m19_p_not_integer_error.ngc
Normal file
@@ -0,0 +1,3 @@
|
||||
G21 G90 G17
|
||||
M19 R45 P1.5
|
||||
M30
|
||||
3
tests/gcode/linuxcnc_m19_p_out_of_range_error.ngc
Normal file
3
tests/gcode/linuxcnc_m19_p_out_of_range_error.ngc
Normal file
@@ -0,0 +1,3 @@
|
||||
G21 G90 G17
|
||||
M19 R45 P3
|
||||
M30
|
||||
3
tests/gcode/linuxcnc_m19_r_out_of_range_error.ngc
Normal file
3
tests/gcode/linuxcnc_m19_r_out_of_range_error.ngc
Normal file
@@ -0,0 +1,3 @@
|
||||
G21 G90 G17
|
||||
M19 R361 P1
|
||||
M30
|
||||
@@ -0,0 +1,3 @@
|
||||
G21 G90 G17
|
||||
M19 R45 $1 Q2
|
||||
M30
|
||||
@@ -0,0 +1,3 @@
|
||||
G21 G90 G17
|
||||
M3 $1
|
||||
M30
|
||||
@@ -0,0 +1,3 @@
|
||||
G21 G90 G17
|
||||
M4 $1
|
||||
M30
|
||||
@@ -0,0 +1,3 @@
|
||||
G21 G90 G17
|
||||
M5 $1
|
||||
M30
|
||||
Reference in New Issue
Block a user