0026742: Update test cases for using checknbshapes procedure instead of global variables
[occt.git] / tests / bugs / modalg_1 / bug10842_2
CommitLineData
a4eba920 1puts "TODO OCC111111 ALL: Error : is WRONG because number of "
61c421bf 2
3puts "============"
4puts "OCC10842"
5puts "============"
6puts ""
7#######################################################################
8# Bug in Bop
9#######################################################################
10
11set BugNumber OCC10842
12
13restore [locate_data_file OCC10842-1.brep] b1
14restore [locate_data_file OCC10842-2.brep] b2
15
16puts "Prepare boolean operation ..."
17bop b1 b2
18
19puts "Start boolean operation ..."
20bopfuse result
21puts "Finish boolean operation ..."
22
23set square 27919.7
24
25# Analysis of "nbshapes res"
a4eba920 26checknbshapes result -vertex 15 -edge 21 -wire 7 -face 6 -shell 1 -solid 1 -compsolid 0 -compound 1 -shape 52
61c421bf 27set 2dviewer 0