summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-12-23 13:12:35 (GMT)
committerMarius Kintel <marius@kintel.net>2011-12-23 13:12:35 (GMT)
commit03a2da9f4a63d8e384c91b0daf41eecdb9079336 (patch)
treec0e96b45a250ebb8910b5134a4808e215612c1b2 /tests
parentcd3d816f93038e9cb35aaf8b8e0852dc8bb4cd49 (diff)
Test case for recent CSG regression reported by Ed Nisley
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt3
-rw-r--r--tests/regression/opencsgtest/bbox-transform-bug-expected.pngbin0 -> 5808 bytes
-rw-r--r--tests/regression/throwntogethertest/bbox-transform-bug-expected.pngbin0 -> 6400 bytes
3 files changed, 2 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index e98dd8e..20a9ede 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -531,7 +531,8 @@ list(APPEND DUMPTEST_FILES ${CMAKE_SOURCE_DIR}/../testdata/scad/misc/escape-test
list(APPEND CGALPNGTEST_FILES ${FEATURES_FILES} ${SCAD_DXF_FILES} ${EXAMPLE_FILES})
list(APPEND OPENCSGTEST_FILES ${CGALPNGTEST_FILES})
-list(APPEND THROWNTOGETHERTEST_FILES ${CGALPNGTEST_FILES})
+list(APPEND OPENCSGTEST_FILES ${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/bbox-transform-bug.scad)
+list(APPEND THROWNTOGETHERTEST_FILES ${OPENCSGTEST_FILES})
# Disable tests which are known to cause floating point comparison issues
# Once we're capable of comparing these across platforms, we can put these back in
diff --git a/tests/regression/opencsgtest/bbox-transform-bug-expected.png b/tests/regression/opencsgtest/bbox-transform-bug-expected.png
new file mode 100644
index 0000000..060b921
--- /dev/null
+++ b/tests/regression/opencsgtest/bbox-transform-bug-expected.png
Binary files differ
diff --git a/tests/regression/throwntogethertest/bbox-transform-bug-expected.png b/tests/regression/throwntogethertest/bbox-transform-bug-expected.png
new file mode 100644
index 0000000..f65e09c
--- /dev/null
+++ b/tests/regression/throwntogethertest/bbox-transform-bug-expected.png
Binary files differ
contact: Jan Huwald // Impressum