Add g33.1 interpreter regression coverage

This commit is contained in:
2026-06-09 07:41:17 +08:00
parent 5116b9894d
commit 3698c51917
11 changed files with 91 additions and 3 deletions

View File

@@ -1249,6 +1249,25 @@ verifyExpectedOutput(
].join("\n"),
);
const g33_1Path = writeInterpRegressionFile("g33.1", "g33.1.ngc");
verifyExpectedOutput(
"interp_g33_1_wasm",
interp.runFile(g33_1Path),
[
"file_open=0",
"file_read_count=5",
"file_execute_count=5",
"file_saw_error=0",
"run_step phase=execute step=4 rc=0 line=4",
"statement_uri=g33.1%20z-1.2%20k0.1",
"canon_event=START_SPINDLE_CLOCKWISE spindle=0",
"canon_event=START_SPEED_FEED_SYNCH spindle=0 feed_per_revolution=0.1 velocity_mode=0",
"canon_event=RIGID_TAP line=4 x=0 y=0 z=-1.2 scale=1",
"canon_event=STOP_SPEED_FEED_SYNCH",
"canon_event=PROGRAM_END",
].join("\n"),
);
const g6164Path = writeInterpRegressionFile("g6164", "test.ngc");
verifyExpectedOutput(
"interp_g6164_wasm",