summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-08-05 23:14:08 (GMT)
committerMarius Kintel <marius@kintel.net>2011-08-05 23:14:08 (GMT)
commitbe63c6eeacf7ed4604106dc0859602ba98847a4f (patch)
tree7de0de0d6a9ca1beb313d4886841dabc7eb0d877
parentbdf1fda89b9886cf6b465edaa9b04a1106f0d638 (diff)
Added modifier test cases for OpenCSG
-rw-r--r--tests/CMakeLists.txt2
-rw-r--r--tests/regression/opencsgtest/background-modifier-expected.pngbin0 -> 16701 bytes
-rw-r--r--tests/regression/opencsgtest/highlight-modifier-expected.pngbin0 -> 15046 bytes
3 files changed, 2 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index a2ee8dc..961267a 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -187,6 +187,8 @@ add_cmdline_test(csgtermtest txt ${MINIMAL_FILES})
LIST(APPEND CGALTEST_FILES ${CMAKE_SOURCE_DIR}/../testdata/scad/minimal/cube.scad)
LIST(APPEND CGALTEST_FILES ${CMAKE_SOURCE_DIR}/../testdata/scad/minimal/sphere.scad)
LIST(APPEND CGALTEST_FILES ${CMAKE_SOURCE_DIR}/../testdata/scad/minimal/cylinder.scad)
+LIST(APPEND CGALTEST_FILES ${CMAKE_SOURCE_DIR}/../testdata/scad/features/background-modifier.scad)
+LIST(APPEND CGALTEST_FILES ${CMAKE_SOURCE_DIR}/../testdata/scad/features/highlight-modifier.scad)
LIST(APPEND CGALTEST_FILES ${CMAKE_SOURCE_DIR}/../examples/example001.scad)
add_cmdline_test(cgaltest stl ${CGALTEST_FILES})
diff --git a/tests/regression/opencsgtest/background-modifier-expected.png b/tests/regression/opencsgtest/background-modifier-expected.png
new file mode 100644
index 0000000..f1d48d9
--- /dev/null
+++ b/tests/regression/opencsgtest/background-modifier-expected.png
Binary files differ
diff --git a/tests/regression/opencsgtest/highlight-modifier-expected.png b/tests/regression/opencsgtest/highlight-modifier-expected.png
new file mode 100644
index 0000000..7a117fa
--- /dev/null
+++ b/tests/regression/opencsgtest/highlight-modifier-expected.png
Binary files differ
contact: Jan Huwald // Impressum