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

@@ -1537,6 +1537,25 @@
].join("\n"),
);
const g33_1Path = await writeInterpRegressionFile(interp, "g33.1", "g33.1.ngc");
verifyExpectedOutput(
"browser_interp_g33_1",
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 = await writeInterpRegressionFile(interp, "g6164", "test.ngc");
verifyExpectedOutput(
"browser_interp_g6164",