Test updated with new expectations around M109

This commit is contained in:
LarsBrubaker 2019-06-15 08:01:30 -07:00
parent 8b9da24120
commit 85f2a54b4f

View file

@ -52,7 +52,7 @@ namespace MatterControl.Tests.MatterControl
Assert.IsTrue(beforeAndAfter[0].Contains($"M140 S{bedTemp}"));
Assert.IsFalse(beforeAndAfter[0].Contains($"M109 T0 S{extruderTemp}"));
Assert.IsTrue(beforeAndAfter[0].Contains($"M190 S{bedTemp}"));
Assert.IsTrue(beforeAndAfter[1].Contains($"M109 T0 S{extruderTemp}"));
Assert.IsFalse(beforeAndAfter[1].Contains($"M109 T0 S{extruderTemp}"), "M109 already in gcode, should not be in after.");
Assert.IsFalse(beforeAndAfter[1].Contains($"M190 S{bedTemp}"));
}