From: mkv Date: Fri, 14 Jul 2017 11:48:27 +0000 (+0300) Subject: Test for 0022821: Crash with BRepFilletAPI_MakeFillet X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2FCR22821;p=occt-copy.git Test for 0022821: Crash with BRepFilletAPI_MakeFillet --- diff --git a/tests/bugs/modalg_7/bug22821 b/tests/bugs/modalg_7/bug22821 new file mode 100644 index 0000000000..70bb6eb83f --- /dev/null +++ b/tests/bugs/modalg_7/bug22821 @@ -0,0 +1,26 @@ +puts "TODO OCC22821 ALL: Error: Crash with BRepFilletAPI_MakeFillet" + +puts "============" +puts "OCC22821" +puts "============" +puts "" +######################################################################### +# Crash with BRepFilletAPI_MakeFillet +######################################################################### + +pload XDE + +stepread [locate_data_file bug22821_test.step] t * +renamevar t_1 t +checkshape t + +explode t E + +if {![catch {fillet result t 0.01 t_1}]} { + #puts "OK: The incorrect input data were processed correctly!" + checkshape result + checkprops result -s 1.5708 + checkview -display result -2d -path ${imagedir}/${test_image}.png +} else { + puts "Error: Crash with BRepFilletAPI_MakeFillet" +}