Correction of testing case for issue 24374
[occt.git] / tests / bugs / modalg_1 / buc60788_1
CommitLineData
0e94a94e 1
2puts "============"
3puts "BUC60788"
4puts "case 1"
5puts "============"
6
7#restore Intersection_Shell1_Case1.brep S1
8#restore Intersection_Shell2_Case1.brep S2
9
10restore [locate_data_file buc60788a.brep] S1
352ffd73 11checkshape S1
0e94a94e 12restore [locate_data_file buc60788b.brep] S2
352ffd73 13checkshape S2
0e94a94e 14
15bsection result S1 S2
16
17set nb_info [nbshapes result]
18regexp {VERTEX +: +([-0-9.+eE]+)} $nb_info full err
19regexp {SHELL +: +([-0-9.+eE]+)} $nb_info full err1
20
21if { $err != 4 && $err1 != 3} {
22 puts "Faulty : result (res) is incorrect"
23} else {
24 puts "BUC60788 - OK"
25}
26
27set length 750
28set 2dviewer 0