1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/bugs/modalg_1/buc60789_1
ski a8676008f7 Adding of testing cases from subgroups 937 940 and 941 of CHL group
Splitting of subgroups bugs/modalg and bugs/moddata to optimise time of testing
Correction of end file in group v3d
Small correction of test case
2013-02-08 15:16:15 +04:00

27 lines
591 B
Plaintext
Executable File

puts "========"
puts "BUC60789"
puts "========"
puts ""
#restore buc60789a.brep S1
restore [locate_data_file buc60787b.brep] S1
### (by apn during classification)
checkshape S1
restore [locate_data_file buc60789b.brep] S2
checkshape S2
bcommon result S1 S2
set nb_info [nbshapes result]
regexp {VERTEX +: +([-0-9.+eE]+)} $nb_info full ve
regexp {EDGE +: +([-0-9.+eE]+)} $nb_info full ed
if { $ve != 0 && $ed != 0 } {
puts " BUC60789 OK: COMMON operation was made properly"
} else {
puts "Faulty BUC60789: COMMON operation was made wrongly"
}
set length 78.3594
set 2dviewer 0