UnitTest aktualisieren

This commit is contained in:
ChK
2026-04-23 20:45:49 +02:00
parent a16eb53aeb
commit 355925ebb4
8 changed files with 1660 additions and 16 deletions

View File

@@ -33,7 +33,7 @@ describe("TelnetSenderGRBL.execCommand - caseBackward", () => {
// y: 0.203 * 180 / PI ≈ 11.64
// z: (-0.192 * 180 / PI) - (0.203 * 180 / PI) ≈ -10.99 - 11.64 ≈ -22.63
console.log("Actual output:", sender.tSocket.written);
expect(sender.tSocket.written).toBe("G1 x0.00 y11.63 z-22.63 f100.00\r\n");
expect(sender.tSocket.written.replace("G90 ","")).toBe("G1 x0.00 y11.63 z-22.63 f100.00\r\n");
});
});