From: bugmaster Date: Fri, 9 Sep 2016 13:10:56 +0000 (+0300) Subject: 0025423: Incorrect result of splitting some shapes X-Git-Tag: V7_1_0_beta~148 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=7b3aef359f096e27711d8b31a21ef3fed8781656;p=occt-copy.git 0025423: Incorrect result of splitting some shapes Adding testing case --- diff --git a/tests/bugs/modalg_6/bug25423_1 b/tests/bugs/modalg_6/bug25423_1 new file mode 100644 index 0000000000..04a1a41ba8 --- /dev/null +++ b/tests/bugs/modalg_6/bug25423_1 @@ -0,0 +1,28 @@ +puts "============" +puts "OCC25423" +puts "============" +puts "" +###################################################### +# Incorrect result of splitting some shapes. Case 1 +###################################################### + +restore [locate_data_file bug25423a.brep] f + +restore [locate_data_file bug25423b.brep] e + +checkshape f + +checkshape e + +splitshape result f f e + +checkshape result + +maxtolerance result + + +checknbshapes result -face 2 + +checkprops result -s 16.918 + +checkview -display result -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug25423_2 b/tests/bugs/modalg_6/bug25423_2 new file mode 100644 index 0000000000..39b8dc3de7 --- /dev/null +++ b/tests/bugs/modalg_6/bug25423_2 @@ -0,0 +1,28 @@ +puts "============" +puts "OCC25423" +puts "============" +puts "" +###################################################### +# Incorrect result of splitting some shapes. Case 2 +###################################################### + +restore [locate_data_file bug25423c.brep] f + +restore [locate_data_file bug25423d.brep] e + +checkshape f + +checkshape e + +splitshape result f f e + +checkshape result + +maxtolerance result + + +checknbshapes result -face 2 + +checkprops result -s 5.6486 + +checkview -display result -2d -path ${imagedir}/${test_image}.png