]> git.draconx.ca Git - slotifier.git/blobdiff - tests/simple.at
Fix crash when input has no holes.
[slotifier.git] / tests / simple.at
index 8e28f6b24793de54ba87997f61705c622a7b899f..11c59b7bc8de9c871098eb7280fb0aa24f58998f 100644 (file)
@@ -85,3 +85,28 @@ M30
 ]])
 
 AT_CLEANUP
+
+AT_SETUP([no holes])
+
+AT_DATA([test.cnc],
+[[M48
+INCH,TZ
+T10C0.091
+%
+T10
+X010512Y002362G85X010512Y002047
+M30
+]])
+
+AT_CHECK([slotifier test.cnc], [0],
+[[M48
+INCH,TZ
+T10C0.091
+%
+T10
+X010512Y002362G85X010512Y002047
+M30
+
+]])
+
+AT_CLEANUP