1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00
occt/tests/bugs/mesh/bug25378_1_1
aml 4b65fc7750 0026184: GeomAPI_ExtremaCurveCurve hangs on parallel b-spline curves
Class CellFilterNDim added.
Class CellFulterNDim used in GlobOptMin to improve performance in case of many solutions.
Memory leak eliminated.

Test cases for issue CR26184

Small correction of test cases for issue CR26184
2015-07-02 13:53:43 +03:00

37 lines
1.0 KiB
Plaintext
Executable File

puts "============"
puts "CR25378"
puts "============"
puts ""
###################################################################################
# Building of triangulation for distored surfaces can take very long using BRepMesh_IncrementalMesh
#
# Test case was created to control bad situation, building of triangulation takes
# very long time and it is expected by the meaning of issue #25378.
# Case when it is passed too fast should be considered as failure.
###################################################################################
cpulimit 450
restore [locate_data_file bug25378_Blower_bad.brep] b
trinfo b
tclean b
set t_1 [expr [lindex [time {incmesh b 0.1}] 0]/1000000]
puts "t_1=${t_1}"
trinfo b
if { [regexp {Debug mode} [dversion]] } {
set max_t_1 20
} else {
if { [regexp {Windows} [dversion]] } {
set max_t_1 9
} else {
set max_t_1 8
}
}
if {${max_t_1} > ${t_1}} {
puts "Error. Time of building of triangulation, ${t_1} seconds, is less than expected minimum time - ${max_t_1} seconds"
}