0026742: Update test cases for using checknbshapes procedure instead of global variables
[occt.git] / tests / bugs / modalg_2 / bug22770_5
1 puts "================"
2 puts "OCC22770"
3 puts "================"
4 puts ""
5 #######################################################################################
6 # Improve comman sewing in DRAW
7 ######################################################################################
8
9 set BugNumber OCC22770
10
11 box a 1 2 3
12 box b 2 0 0 1 2 3
13 explode a f
14 explode b f
15 sewing result +t 1.1 a_2 b_1 +f
16
17 set square 12
18 checknbshapes result -vertex 4 -edge 4 -wire 2 -face 2 -shell 1 -solid 0 -compsolid 0 -compound 0 -shape 13
19 checkmaxtol result -ref 1.5
20 checknbshapes result -shell 1
21 checkfreebounds result 0
22
23 set 3dviewer 0