1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-08 18:40:55 +03:00
occt/tests/bugs/modalg_2/bug23008
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

35 lines
765 B
Plaintext
Executable File

puts "================"
puts "OCC23008"
puts "================"
puts ""
######################################################################################
# Too many intersection vertices between line and cylinder
######################################################################################
set BugNumber OCC23008
restore [locate_data_file bug23008_ez15] b1
restore [locate_data_file bug23008_fz37] b2
bop b1 b2
set info [ bopnews -v ]
for {set i 0} {$i <= 100} {incr i} {
set word [lsearch $info z$i]
if {$word == -1} {
lappend check_z 0
} else {
lappend check_z 1
}
}
# Resume
puts ""
set result [lsearch $check_z 1]
if { ${result} == -1 } {
puts "OK ${BugNumber}"
} else {
puts "Faulty ${BugNumber}"
}
set 3dviewer 0