0026855: Draw commands to debug Boolean Operations Algorithm
[occt.git] / tests / bugs / moddata_2 / bug6862_2
1 puts "============"
2 puts "OCC6862"
3 puts "============"
4 puts ""
5 #######################################################################
6 # Tool for checking arguments of Boolean Operations
7 #######################################################################
8
9 set BugNumber OCC6862
10
11 # self-intersection test
12 restore [locate_data_file OCC497e.brep] a_1 
13 restore [locate_data_file OCC497f.brep] a_2 
14
15 set resstr [bopargcheck a_2]
16
17 if {$resstr=="Faulties, that can not be treated by BOP, are detected.\n"} {
18     puts "OK ${BugNumber}"
19 } else {
20     puts "Faulty ${BugNumber}"
21 }
22
23 set 2dviewer 0
24