Adjusting testing cases
[occt.git] / tests / bugs / modalg / bug60409_1
CommitLineData
0e94a94e 1
2puts "=============="
3puts " BUC60409 "
4puts " FUSE "
5puts "=============="
6
7restore [locate_data_file buc60409a.brep] c
8restore [locate_data_file buc60409b.brep] s
9
10set che [checkshape c]
11if { [regexp {Faulty} $che ] == 1 } {
12 puts "Faulty BUC60409 (shape 1): Source shape is invalid. It was detected by Checkshape command"
13 puts "Body of the script was NOT executed"
14 renamevar c result
15} else {
16 puts "BUC60409 OK (shape 1): Source shape is valid"
17 set che [checkshape s]
18 if { [regexp {Faulty} $che ] == 1 } {
19 puts "Faulty BUC60409 (shape 2): Source shape is invalid. It was detected by Checkshape command"
20 puts "Body of the script was NOT executed"
21 renamevar s result
22 } else {
23 puts "BUC60409 OK (shape 2): Source shape is valid"
24 bfuse result c s
25 }
26}
27set square 39.0894
28set 2dviewer 0