diff options
-rw-r--r-- | testdata/scad/features/surface-tests.scad | 2 | ||||
-rw-r--r-- | tests/CMakeLists.txt | 1 | ||||
-rw-r--r-- | tests/regression/cgalpngtest/surface-tests-expected.png | bin | 0 -> 36682 bytes | |||
-rw-r--r-- | tests/regression/opencsgtest/surface-tests-expected.png | bin | 0 -> 41120 bytes |
4 files changed, 2 insertions, 1 deletions
diff --git a/testdata/scad/features/surface-tests.scad b/testdata/scad/features/surface-tests.scad index 32072fa..98918d7 100644 --- a/testdata/scad/features/surface-tests.scad +++ b/testdata/scad/features/surface-tests.scad @@ -1 +1 @@ -surface("surface.dat"); +surface("surface.dat", center=true); diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 863164f..fa61db8 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -216,6 +216,7 @@ LIST(APPEND CGALPNGTEST_FILES ${CMAKE_SOURCE_DIR}/../testdata/scad/features/intersection-tests.scad ${CMAKE_SOURCE_DIR}/../testdata/scad/features/linear_extrude-tests.scad ${CMAKE_SOURCE_DIR}/../testdata/scad/features/rotate_extrude-tests.scad + ${CMAKE_SOURCE_DIR}/../testdata/scad/features/surface-tests.scad ${CMAKE_SOURCE_DIR}/../testdata/scad/features/import_dxf-tests.scad ${CMAKE_SOURCE_DIR}/../testdata/scad/features/color-tests.scad ${CMAKE_SOURCE_DIR}/../testdata/scad/features/background-modifier.scad diff --git a/tests/regression/cgalpngtest/surface-tests-expected.png b/tests/regression/cgalpngtest/surface-tests-expected.png Binary files differnew file mode 100644 index 0000000..cc29f66 --- /dev/null +++ b/tests/regression/cgalpngtest/surface-tests-expected.png diff --git a/tests/regression/opencsgtest/surface-tests-expected.png b/tests/regression/opencsgtest/surface-tests-expected.png Binary files differnew file mode 100644 index 0000000..2655afb --- /dev/null +++ b/tests/regression/opencsgtest/surface-tests-expected.png |