1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-05-06 10:36:12 +03:00
occt/tests/bugs/modalg/buc60787_1
apn 352ffd7358 Adding test cases for chl grid
Test case tests/bugs/modalg/dxf906 was renamed to bug889
Adding test cases to tests/bugs/moddata
Modified expressions puts [checkshape result]. Added command vzfit in end file in folder bugs. Unlocked command coordload in QABugs_3.cxx
Modified test case bugs vis buc60738
Added test cases to modalg and moddata
Added test cases to caf and fclasses
Added test cases to group heal
2012-12-21 16:39:38 +04:00

33 lines
744 B
Plaintext
Executable File

puts "TODO OCC12345 ALL: Faulty : result should be a shell, but not a compound of faces"
puts "TODO OCC12345 ALL: Error : The square of result shape is"
puts "========"
puts "BUC60787"
puts "BUC60783"
puts "========"
#restore Common_Shell_Case2.brep S1
#restore Common_Solid_Case2.brep S2
restore [locate_data_file buc60787a.brep] S1
checkshape S1
restore [locate_data_file buc60787b.brep] S2
checkshape S1
bcommon result S1 S2
set nb_info [nbshapes result]
regexp {COMPOUND +: +([-0-9.+eE]+)} $nb_info full err
regexp {SHELL +: +([-0-9.+eE]+)} $nb_info full err1
if { $err != 0 || $err1 != 1} {
puts "Faulty : result should be a shell, but not a compound of faces"
} else {
puts "BUC60787 - OK"
}
set square 0
set 2dviewer 0