Expand LinuxCNC smoke coverage
This commit is contained in:
6
tests/gcode/linuxcnc_canned_cycles_extended.ngc
Normal file
6
tests/gcode/linuxcnc_canned_cycles_extended.ngc
Normal file
@@ -0,0 +1,6 @@
|
||||
G21 G90 G17
|
||||
G0 X0 Y0 Z10
|
||||
G99 G82 X10 Y0 Z-2 R3 P0.25 F100
|
||||
G83 X20 Y0 Z-3 R2 Q1
|
||||
G80
|
||||
M30
|
||||
4
tests/gcode/linuxcnc_tool_length.ngc
Normal file
4
tests/gcode/linuxcnc_tool_length.ngc
Normal file
@@ -0,0 +1,4 @@
|
||||
G21 G90 G17
|
||||
G43 H1
|
||||
G49 G0 X0
|
||||
M30
|
||||
12
tests/gcode/smoke_oword_subprogram.ngc
Normal file
12
tests/gcode/smoke_oword_subprogram.ngc
Normal file
@@ -0,0 +1,12 @@
|
||||
G21 G90
|
||||
G0 X0 Y0 Z0
|
||||
F100
|
||||
O100 call [2 + 3] [8 / 4]
|
||||
G1 X20
|
||||
M30
|
||||
O100 sub
|
||||
G1 X[#1 + #2]
|
||||
G1 Y#2
|
||||
O100 return
|
||||
G1 X99
|
||||
O100 endsub
|
||||
10
tests/gcode/smoke_subprogram_m98.ngc
Normal file
10
tests/gcode/smoke_subprogram_m98.ngc
Normal file
@@ -0,0 +1,10 @@
|
||||
G21 G90
|
||||
G0 X0 Y0 Z0
|
||||
F100
|
||||
M98 P100 L2
|
||||
G1 X20
|
||||
M30
|
||||
O100
|
||||
G91 G1 X5
|
||||
G90
|
||||
M99
|
||||
Reference in New Issue
Block a user