X-Git-Url: https://git.draconx.ca/gitweb/slotifier.git/blobdiff_plain/4e70965948424923dcf71edd99c08cc83c9daedb..5c9f3276505a9cbe000842401cbf7dd132b48ccb:/tests/simple.at diff --git a/tests/simple.at b/tests/simple.at index 1b6c588..8e28f6b 100644 --- a/tests/simple.at +++ b/tests/simple.at @@ -1,4 +1,4 @@ -# Copyright © 2018 Nick Bowler +# Copyright © 2018, 2021 Nick Bowler # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -53,3 +53,35 @@ M30 ]]) AT_CLEANUP + +AT_SETUP([non-overlapping holes]) + +AT_DATA([test.cnc], +[[M48 +INCH +T25C0.010 +T24C0.091 +% +T25 +X010433Y001181 +T24 +X010512Y002362 +X010512Y002047 +M30 +]]) + +AT_CHECK([slotifier test.cnc], [0], +[[M48 +INCH,TZ +T10C0.091 +T11C0.010 +% +T10 +X010512Y002362G85X010512Y002047 +T11 +X010433Y001181 +M30 + +]]) + +AT_CLEANUP