1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
occt/tests/bugs/modalg_5/bug23952_1
apn 85c44a05a0 0023952: Improving thread-safety of intersections, approximations and other modeling algorithms
Modified QAcommands OCC23952sweep and OCC23952intersect to prevent exception in appropriate test cases
2013-06-06 11:06:26 +04:00

20 lines
628 B
Plaintext

puts "================"
puts "OCC23952"
puts "================"
puts ""
###########################################################################################
# Improving thread-safety of intersections, approximations and other modeling algorithms
###########################################################################################
pload QAcommands
restore [locate_data_file bug23952_trim-torus.draw] a
set NbUPoles 18
set info [OCC23952sweep $NbUPoles a]
if { [regexp "theTargetNbUPoles: OK" $info] != 1 } {
puts "Error : Number of UPoles is incorrect"
} else {
puts "OK: Number of UPoles is correct"
}