0026742: Update test cases for using checknbshapes procedure instead of global variables
[occt.git] / tests / bugs / modalg_2 / bug22770_4
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 8 -edge 8 -wire 2 -face 2 -shell 0 -solid 0 -compsolid 0 -compound 1 -shape 21
19 checkmaxtol result -ref 9.9999999999999995e-008
20 checknbshapes result -shell 0
21 checkfreebounds result 8
22
23 set 3dviewer 0