UnitTest aktualisieren
This commit is contained in:
@@ -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");
|
||||
});
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user