This commit is contained in:
John Lewin 2018-11-29 13:41:24 -08:00
parent 80ea3716d9
commit 970d68f5c0
23 changed files with 31 additions and 31 deletions

View file

@ -90,7 +90,7 @@ namespace MatterHackers.MatterControl.Tests.Automation
}
double printerRetraction = 7 + .1; // the airwolf has a retraction of 7 mm
Assert.GreaterOrEqual(delta, -printerRetraction, "We should never move back more than the retraction amount");
Assert.GreaterOrEqual(emulator.CurrentExtruder.AbsoluteEPosition, largestAbsoluteEPosition - printerRetraction, "Never go back more than the retaction amount");
Assert.GreaterOrEqual(emulator.CurrentExtruder.AbsoluteEPosition, largestAbsoluteEPosition - printerRetraction, "Never go back more than the retraction amount");
Assert.LessOrEqual(emulator.CurrentExtruder.AbsoluteEPosition, lastAbsoluteEPostion + 10, "We should never move up more than 10 mm");
lastAbsoluteEPostion = emulator.CurrentExtruder.AbsoluteEPosition;
};
@ -164,7 +164,7 @@ namespace MatterHackers.MatterControl.Tests.Automation
// Wait for done
testRunner.WaitForPrintFinished();
// this will make sure we turned off line spliting and had good data about the extruder position
// this will make sure we turned off line splitting and had good data about the extruder position
Assert.AreEqual(-7, largestRetraction, "Airwolf HD has a retraction of 7mm, make sure we had one");
}