diff --git a/tests/bugs/modalg_6/bug27002_1 b/tests/bugs/modalg_6/bug27002_1 new file mode 100644 index 0000000000..0531017aa6 --- /dev/null +++ b/tests/bugs/modalg_6/bug27002_1 @@ -0,0 +1,22 @@ +puts "============" +puts "OCC27002" +puts "============" +puts "" +############################### +## First test case for Set-42 +############################### + +restore [locate_data_file bug27002_Face.brep] b1 +restore [locate_data_file bug27002_Compartment.brep] b2 + +bclearobjects +bcleartools +baddobjects b1 +baddtools b2 +bfillds +bbop result 0 +donly result + +checkprops result -s empty + +set 2dviewer 1 diff --git a/tests/bugs/modalg_6/bug27002_2 b/tests/bugs/modalg_6/bug27002_2 new file mode 100644 index 0000000000..0132e7ca1a --- /dev/null +++ b/tests/bugs/modalg_6/bug27002_2 @@ -0,0 +1,23 @@ +puts "============" +puts "OCC27002" +puts "============" +puts "" +############################### +## Second test case for Set-42 +############################### + +restore [locate_data_file bug27002_Face.brep] b1 +restore [locate_data_file bug27002_Compartment.brep] b2 + +ttranslate b1 0 -3.189495771656425 -3.8505995276821197 + +bclearobjects +bcleartools +baddobjects b1 +baddtools b2 +bfillds +bbop result 0 + +checkprops result -s 0.0639006 + +set 2dviewer 1