61c421bf |
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 OCC497a.brep] a_1 |
13 | restore [locate_data_file OCC497b.brep] a_2 |
14 | |
61c421bf |
15 | set resstr [bopargcheck a_2] |
61c421bf |
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 | |
5747059b |
23 | checkview -display result -2d -path ${imagedir}/${test_image}.png |
61c421bf |
24 | |