Start text9 and guard direct initial parameters
This commit is contained in:
@@ -9322,6 +9322,7 @@
|
||||
|
||||
const browserInterpMachineId = "browser-interp";
|
||||
const browserInterpWasmPaths = opfsBrowserSessionWasmPaths("browser");
|
||||
const browserInterpInitialParameterValues = ["10.5", "20.25", "2.25", "44"];
|
||||
const browserInterpTextPaths = await saveMachineTextFiles(browserInterpMachineId, {
|
||||
ini: `[EMC]\nMACHINE = ${browserInterpMachineId}\n`,
|
||||
toolTable: "T2 P7 Z3.125 D1.5 I12 J34 Q4 ;browser finish tool\n",
|
||||
@@ -9348,13 +9349,7 @@
|
||||
verifyOpfsLoadResult(
|
||||
"opfs_restore_parameters",
|
||||
loadedSession.parameters,
|
||||
[
|
||||
"restore_parameters=0",
|
||||
"parameter_5161=10.5",
|
||||
"parameter_5162=20.25",
|
||||
"parameter_5221=2.25",
|
||||
"parameter_5399=44",
|
||||
],
|
||||
opfsParameterResultLines("restore", ...browserInterpInitialParameterValues),
|
||||
);
|
||||
verifyOpfsLoadResult(
|
||||
"opfs_load_tool_table",
|
||||
@@ -9406,10 +9401,7 @@
|
||||
"opfs_saved_parameter_backup_text",
|
||||
savedParameters.backupOpfsPath,
|
||||
[
|
||||
"5161 10.5",
|
||||
"5162 20.25",
|
||||
"5221 2.25",
|
||||
"5399 44",
|
||||
...opfsParameterTextLines(" ", ...browserInterpInitialParameterValues),
|
||||
"<_named_param> 123",
|
||||
],
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user