6d368502 |
1 | puts "REQUIRED All: Info. Faulty shape if found in source shape" |
a967f104 |
2 | puts "============" |
3 | puts "OCC25043" |
4 | puts "============" |
5 | puts "" |
6d368502 |
6 | ############################################################################################################################ |
a967f104 |
7 | ## there is no possibility to know what exactly subshape of source shape has detected problems by BRepAlgoAPI_Check |
6d368502 |
8 | ############################################################################################################################ |
a967f104 |
9 | |
10 | pload QAcommands |
11 | restore [locate_data_file bug25043.brep] a |
12 | |
a967f104 |
13 | set info [OCC25043 a] |
a967f104 |
14 | |
15 | if { [regexp "Faulty shape if found in source shape" ${info}] == 1 } { |
16 | puts "OK : Good result" |
17 | } else { |
18 | puts "Error : Wrong result" |
19 | } |