Added testcase for #582

export-menu
Marius Kintel 2013-12-29 20:16:54 -05:00
parent b47ec73e72
commit 101d6343c0
4 changed files with 7 additions and 1 deletions

5
testdata/scad/bugs/issue582.scad vendored Normal file
View File

@ -0,0 +1,5 @@
// Causes a CGAL assertion in CGALEvaluator::process()
e=0.000;
for (m = [ [ [ 0, 1, 0], [ 0, 0, 1], [ 1, 0, 0] ],
[ [-1, 0, e], [ 0,-1, 0], [ 0, 0,-1] ] ] )
multmatrix (m) cube([1,5,1], center=true);

View File

@ -884,7 +884,8 @@ set_test_config(Heavy opencsgtest_minkowski3-tests
# Bugs
list(APPEND BUGS_FILES ${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue541.scad)
list(APPEND BUGS_FILES ${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue541.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/issue582.scad)
list(APPEND OPENCSGTEST_FILES ${BUGS_FILES})
list(APPEND CGALPNGTEST_FILES ${BUGS_FILES})
foreach(FILE ${BUGS_FILES})

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB