public void ParsesNCodeWithGCode() { var parser = new GenericGCodeParser(); var line = parser.ParseLine("N100 G1", 0); Assert.AreEqual(LineType.GCode, line.Type); }
public void ParsesUnknownString(string s) { var parser = new GenericGCodeParser(); var line = parser.ParseLine(s, 0); Assert.AreEqual(LineType.UnknownString, line.Type); }
public void ParsesNCodeOnly() { var parser = new GenericGCodeParser(); var line = parser.ParseLine("N100", 0); Assert.AreEqual(LineType.Blank, line.Type); }