1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-08 14:17:06 +03:00

0024496: Crash on BRepAlgoAPI_Section

Added test case bugs/modalg_5/bug24496
This commit is contained in:
apn
2014-04-28 15:10:50 +04:00
committed by abv
parent 7f5b235f54
commit d2453d6d74

View File

@@ -0,0 +1,21 @@
puts "============"
puts "OCC24496"
puts "============"
puts ""
#################################
# Crash on BRepAlgoAPI_Section
#################################
restore [locate_data_file bug24496_face1.brep] f1
restore [locate_data_file bug24496_face2.brep] f2
bsection result f1 f2
if { [llength [explode result]] != 2 } {
puts "Error: wrong number of intersections. Should be result_1 and result_2"
} else {
puts "OK: bsection works properly"
}
set length 11.7031
set 2dviewer 1