public void IgnoreInvalidOrder() { GCodeFileOptions options = new GCodeFileOptions(); options.CheckLineNumers = false; GCodeFile file = new GCodeFile("N2N1N3", options); Assert.IsTrue(file.Commands.Count == 3); }
public void NotUseMappedObjects() { GCodeFileOptions options = new GCodeFileOptions(); options.UseMappedObjects = false; GCodeFile file = new GCodeFile("G1X1", options); Assert.IsTrue(!(file.Commands[0] is RapidLinearMove)); }
public void IgnoreCrcCheck() { GCodeFileOptions options = new GCodeFileOptions(); options.CheckCRC = false; GCodeFile file = new GCodeFile("G1*0", options); Assert.IsTrue(file.Commands[0].CommandSubType == 1); }