From e3c59e39cf9bc64ce9d76c324b82956a65515f16 Mon Sep 17 00:00:00 2001 From: opiopan Date: Sun, 7 Apr 2019 22:22:33 +0900 Subject: expand test and fix many issues --- tests/expects/excellon_to_metric.txt | 43 ++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 tests/expects/excellon_to_metric.txt (limited to 'tests/expects/excellon_to_metric.txt') diff --git a/tests/expects/excellon_to_metric.txt b/tests/expects/excellon_to_metric.txt new file mode 100644 index 0000000..a634742 --- /dev/null +++ b/tests/expects/excellon_to_metric.txt @@ -0,0 +1,43 @@ +M48 +FMAT,2 +ICI,OFF +METRIC,TZ,000.000 +M71 +T01C0.099 +T02C0.198 +% +T01 +X5001Y9500 +X5199Y9500 +X5400Y9500 +X5601Y9500 +X5799Y9500 +X5999Y9500 +X6200Y9500 +X6401Y9500 +X6599Y9500 +X6800Y9500 +X7000Y9500 +X7201Y9500 +X7399Y9500 +X7600Y9500 +X7800Y9500 +X8001Y9500 +X8199Y9500 +X8400Y9500 +X8600Y9500 +X8801Y9500 +X8999Y9500 +T02 +X5001Y500 +X5400Y500 +X5799Y500 +X6200Y500 +X6599Y500 +X7000Y500 +X7399Y500 +X7800Y500 +X8199Y500 +X8600Y500 +X8999Y500 +M30 -- cgit From 02258202793e9c70f212171fe4a92f6bab3a6f72 Mon Sep 17 00:00:00 2001 From: Hiroshi Murayama Date: Sun, 18 Aug 2019 14:16:22 +0900 Subject: fix a bug that unit traslation of excellon fail --- tests/expects/excellon_to_metric.txt | 66 +++++++++++++++++------------------- 1 file changed, 31 insertions(+), 35 deletions(-) (limited to 'tests/expects/excellon_to_metric.txt') diff --git a/tests/expects/excellon_to_metric.txt b/tests/expects/excellon_to_metric.txt index a634742..1bb4287 100644 --- a/tests/expects/excellon_to_metric.txt +++ b/tests/expects/excellon_to_metric.txt @@ -2,42 +2,38 @@ M48 FMAT,2 ICI,OFF METRIC,TZ,000.000 -M71 -T01C0.099 -T02C0.198 +T01C0.599 +T02C0.698 +T03C0.797 +T04C0.998 % +G90 +M71 T01 -X5001Y9500 -X5199Y9500 -X5400Y9500 -X5601Y9500 -X5799Y9500 -X5999Y9500 -X6200Y9500 -X6401Y9500 -X6599Y9500 -X6800Y9500 -X7000Y9500 -X7201Y9500 -X7399Y9500 -X7600Y9500 -X7800Y9500 -X8001Y9500 -X8199Y9500 -X8400Y9500 -X8600Y9500 -X8801Y9500 -X8999Y9500 +X4610Y2438 +X4610Y3414 +X3609Y6101G85X2101Y6101 T02 -X5001Y500 -X5400Y500 -X5799Y500 -X6200Y500 -X6599Y500 -X7000Y500 -X7399Y500 -X7800Y500 -X8199Y500 -X8600Y500 -X8999Y500 +X3609Y3899 +X3609Y1951 +X2141Y1951 +X2050Y3899 +T03 +G00X3609Y2926 +M15 +G01X2141Y2926 +M16 +G05 +X3599Y7099 +T04 +G00X599Y1699 +M15 +G03X1600Y701A1001 +G01X6599Y701 +G01X6599Y4100 +G03X5601Y5100A1001 +G01X599Y5100 +G01X599Y1699 +M16 +G05 M30 -- cgit From 36956f93fe1773229b6b7bb1b851adf169f97f79 Mon Sep 17 00:00:00 2001 From: Hiroshi Murayama Date: Sun, 25 Aug 2019 12:39:01 +0900 Subject: improve routing mode compatibility with excellon specification --- tests/expects/excellon_to_metric.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'tests/expects/excellon_to_metric.txt') diff --git a/tests/expects/excellon_to_metric.txt b/tests/expects/excellon_to_metric.txt index 1bb4287..20f698e 100644 --- a/tests/expects/excellon_to_metric.txt +++ b/tests/expects/excellon_to_metric.txt @@ -28,10 +28,12 @@ X3599Y7099 T04 G00X599Y1699 M15 -G03X1600Y701A1001 +G02X1600Y701I0J-1001 +G03X2601Y-300A1001 +G03X3599Y701A1001 G01X6599Y701 -G01X6599Y4100 -G03X5601Y5100A1001 +G01X6599Y2601 +G03X4100Y5100I-2499J0 G01X599Y5100 G01X599Y1699 M16 -- cgit