#42 Run the c++ code to convert PBM binary to ascii

Run the converter if the image is in binary
This commit is contained in:
Marc-Antoine Lafreniere
2019-03-17 20:00:03 -04:00
parent b4c50e2aea
commit 30c219d6b2
6 changed files with 20 additions and 128 deletions

View File

@@ -52,7 +52,7 @@ class TestListToGCode(TestCase):
def getExpected(coords, ySize, xSize):
header = ['G28', 'G90\n']
footer = ['\nG0 Z0', 'G28']
footer = ['\nG0 Z0', 'G28', 'M18']
content = ['G0 X' + str(round(xSize * coords[0].getX(), 2)) + ' Y' + str(round(ySize * coords[0].getY(), 2)),
'G0 Z3',