public void ParseQuotedM32()
 {
     DuetAPI.Commands.Code code = new DuetAPI.Commands.Code("M32 \"foo bar.g\"");
     Assert.AreEqual(CodeType.MCode, code.Type);
     Assert.AreEqual(32, code.MajorNumber);
     Assert.AreEqual("foo bar.g", code.GetUnprecedentedString());
 }
 public void ParseM32()
 {
     DuetAPI.Commands.Code code = new DuetAPI.Commands.Code("M32 some fancy  file.g");
     Assert.AreEqual(CodeType.MCode, code.Type);
     Assert.AreEqual(32, code.MajorNumber);
     Assert.AreEqual("some fancy  file.g", code.GetUnprecedentedString());
 }