1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
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

38 lines
855 B
Plaintext
Executable File

puts "============"
puts "OCC16833"
puts "============"
puts ""
#######################################################################
# Error in Coons algorithm
#######################################################################
set BugNumber OCC16833
restore [locate_data_file OCC16833-c1.draw] c1
restore [locate_data_file OCC16833-c2.draw] c2
restore [locate_data_file OCC16833-c3.draw] c3
restore [locate_data_file OCC16833-c4.draw] c4
set mistake 0
if [catch { fillcurves result c1 c2 c3 c4 } res] {
set mistake 1
puts "Faulty ${BugNumber}: filling problem"
} else {
puts "Filling ${BugNumber} OK"
set What [whatis result]
if { [regexp "surface" $What] != 1 } {
set mistake 1
} else {
set mistake 0
}
}
# Resume
puts ""
if { ${mistake} != 0 } {
puts "Faulty ${BugNumber}"
} else {
puts "OK ${BugNumber}"
}