summaryrefslogtreecommitdiff
path: root/tests/regression
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2011-11-26 17:11:55 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2011-11-26 17:11:55 (GMT)
commit14b4ed4b5baa0efa7eea90322faca4fecfbfa294 (patch)
tree89a983e6d631c2b43a6dd1f0fa25c8bd3969ff41 /tests/regression
parentc2fb5d3650ffaa42c68e02891168c711d3b5f079 (diff)
parent7678f0f08305ecbc9d6f137f9deb19c60c904346 (diff)
Merge remote-tracking branch 'upstream/master' into cakebaby
and tweak tests for win32 run Conflicts: tests/test_cmdline_tool.py
Diffstat (limited to 'tests/regression')
-rw-r--r--tests/regression/cgalpngtest/polygon-tests-expected.pngbin8240 -> 7755 bytes
-rw-r--r--tests/regression/dumptest/escape-test-expected.txt2
-rw-r--r--tests/regression/dumptest/polygon-tests-expected.txt3
-rw-r--r--tests/regression/echotest/builtin-tests-expected.txt2
-rw-r--r--tests/regression/echotest/dim-all-expected.txt12
-rw-r--r--tests/regression/opencsgtest/polygon-tests-expected.pngbin9057 -> 8736 bytes
-rw-r--r--tests/regression/throwntogethertest/polygon-tests-expected.pngbin4769 -> 8797 bytes
7 files changed, 11 insertions, 8 deletions
diff --git a/tests/regression/cgalpngtest/polygon-tests-expected.png b/tests/regression/cgalpngtest/polygon-tests-expected.png
index 89aed2f..5ceabe8 100644
--- a/tests/regression/cgalpngtest/polygon-tests-expected.png
+++ b/tests/regression/cgalpngtest/polygon-tests-expected.png
Binary files differ
diff --git a/tests/regression/dumptest/escape-test-expected.txt b/tests/regression/dumptest/escape-test-expected.txt
index bea0156..2097dc4 100644
--- a/tests/regression/dumptest/escape-test-expected.txt
+++ b/tests/regression/dumptest/escape-test-expected.txt
@@ -1,2 +1,2 @@
- import(file = "A-\\ B-\" C-\t D-\n E-' F-\\\\", layer = "A:\\ B:\" C:\t D:\n E:' F:\\\\", origin = [0, 0], scale = 1, convexity = 1, $fn = 0, $fa = 12, $fs = 1);
+ import(file = "B-\" C-\t D-\n E-'", layer = "A:\\ B:\" C:\t D:\n E:' F:\\\\", origin = [0, 0], scale = 1, convexity = 1, $fn = 0, $fa = 12, $fs = 1);
diff --git a/tests/regression/dumptest/polygon-tests-expected.txt b/tests/regression/dumptest/polygon-tests-expected.txt
index ce4ad87..be66d21 100644
--- a/tests/regression/dumptest/polygon-tests-expected.txt
+++ b/tests/regression/dumptest/polygon-tests-expected.txt
@@ -29,4 +29,7 @@
multmatrix([[1, 0, 0, -2], [0, 1, 0, -2], [0, 0, 1, 0], [0, 0, 0, 1]]) {
polygon(points = [[0, 0], [0.5, -0.2], [1, 0], [1.2, 0.5], [1, 1], [0.5, 1.2], [0, 1], [-0.2, 0.5]], paths = [[0, 1, 2, 3], [4, 5, 6, 7]], convexity = 1);
}
+ multmatrix([[1, 0, 0, 2], [0, 1, 0, -4], [0, 0, 1, 0], [0, 0, 0, 1]]) {
+ polygon(points = [[0, 0], [1, 0], [1, 1], [0, 0]], paths = undef, convexity = 1);
+ }
diff --git a/tests/regression/echotest/builtin-tests-expected.txt b/tests/regression/echotest/builtin-tests-expected.txt
index e8b2027..0e8d1a7 100644
--- a/tests/regression/echotest/builtin-tests-expected.txt
+++ b/tests/regression/echotest/builtin-tests-expected.txt
@@ -1 +1 @@
-ECHO: 3.141592653589793
+ECHO: 3.14159265358979
diff --git a/tests/regression/echotest/dim-all-expected.txt b/tests/regression/echotest/dim-all-expected.txt
index 74044a1..d8c3269 100644
--- a/tests/regression/echotest/dim-all-expected.txt
+++ b/tests/regression/echotest/dim-all-expected.txt
@@ -1,16 +1,16 @@
WARNING: Unsupported DXF Entity `LEADER' (1) in `dim-all.dxf'.
-ECHO: linearX = 51.44957554275265
+ECHO: linearX = 51.4495755427526
WARNING: Unsupported DXF Entity `LEADER' (1) in `dim-all.dxf'.
-ECHO: linearY = 29.13025467434841
+ECHO: linearY = 29.1302546743484
WARNING: Unsupported DXF Entity `LEADER' (1) in `dim-all.dxf'.
-ECHO: aligned = 60.00000000000001
+ECHO: aligned = 60.0000000000000
WARNING: Unsupported DXF Entity `LEADER' (1) in `dim-all.dxf'.
-ECHO: ordinateX = -49.17542445724735
+ECHO: ordinateX = -49.175424457247
WARNING: Unsupported DXF Entity `LEADER' (1) in `dim-all.dxf'.
-ECHO: ordinateY = 30.86974532565159
+ECHO: ordinateY = 30.8697453256515
WARNING: Unsupported DXF Entity `LEADER' (1) in `dim-all.dxf'.
ECHO: radius = 60
WARNING: Unsupported DXF Entity `LEADER' (1) in `dim-all.dxf'.
ECHO: diameter = 120
WARNING: Unsupported DXF Entity `LEADER' (1) in `dim-all.dxf'.
-ECHO: arc = 59.03624346792648
+ECHO: arc = 59.0362434679264
diff --git a/tests/regression/opencsgtest/polygon-tests-expected.png b/tests/regression/opencsgtest/polygon-tests-expected.png
index 4d88973..fe84a80 100644
--- a/tests/regression/opencsgtest/polygon-tests-expected.png
+++ b/tests/regression/opencsgtest/polygon-tests-expected.png
Binary files differ
diff --git a/tests/regression/throwntogethertest/polygon-tests-expected.png b/tests/regression/throwntogethertest/polygon-tests-expected.png
index c9cdb36..779b878 100644
--- a/tests/regression/throwntogethertest/polygon-tests-expected.png
+++ b/tests/regression/throwntogethertest/polygon-tests-expected.png
Binary files differ
contact: Jan Huwald // Impressum