Adding test cases from chl grid
[occt.git] / tests / bugs / modalg / bug22109_4
diff --git a/tests/bugs/modalg/bug22109_4 b/tests/bugs/modalg/bug22109_4
new file mode 100755 (executable)
index 0000000..42d9186
--- /dev/null
@@ -0,0 +1,37 @@
+puts "============"
+puts "OCC22109"
+puts "============"
+puts ""
+#######################################################################
+# Boolean operation common fails. Appendix to the SALOME bug: 0021060 
+#######################################################################
+
+set BugNumber OCC22109
+
+puts "Load first shape ..."
+restore [locate_data_file bug22109_Solid_24.brep] b1 
+
+puts "Load second shape ..."
+restore [locate_data_file bug22109_tore.brep] b2 
+
+puts "Prepare boolean operation ..."
+bop b1 b2
+
+puts "Start boolean operation ..."
+boptuc result
+puts "Finish boolean operation ..."
+
+set square 1140.6
+
+set nb_v_good 5
+set nb_e_good 9
+set nb_w_good 4
+set nb_f_good 4
+set nb_sh_good 1
+set nb_sol_good 1
+set nb_compsol_good 0
+set nb_compound_good 1
+set nb_shape_good 25
+
+
+set 2dviewer 0