Correction of testing case for issue 24374
[occt.git] / tests / bugs / modalg_2 / bug22356
1 puts "============"
2 puts "OCC22356"
3 puts "============"
4 puts ""
5 #######################################################################
6 # The result of fuse is not valid for two straight edges.
7 #    Appendix to the SALOME bug: IPAL22182
8 #######################################################################
9
10 set BugNumber OCC22356
11
12 restore [locate_data_file bug22356_cy.brep] bq 
13 explode bq e
14 copy bq_1 b1
15 copy bq_2 b2
16
17 puts "Prepare boolean operation ..."
18 bop b1 b2
19
20 puts "Start boolean operation ..."
21 bopfuse result
22 puts "Finish boolean operation ..."
23
24 set length 300
25
26 set nb_v_good 3
27 set nb_e_good 2
28 set nb_w_good 1
29 set nb_f_good 0
30 set nb_sh_good 0
31 set nb_sol_good 0
32 set nb_compsol_good 0
33 set nb_compound_good 1
34 set nb_shape_good 7
35
36
37 set 2dviewer 0