mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-05-16 10:54:53 +03:00
0027665: BrepExrtrema_DistShapeShape bad performance on OCCT 6.7.0
Creation of test case for issue #27665.
This commit is contained in:
parent
3475df12a6
commit
bb526112b1
28
tests/bugs/modalg_6/bug27665
Normal file
28
tests/bugs/modalg_6/bug27665
Normal file
@ -0,0 +1,28 @@
|
||||
puts "========"
|
||||
puts "OCC27665"
|
||||
puts "========"
|
||||
puts ""
|
||||
#################################################
|
||||
# BrepExrtrema_DistShapeShape bad performance on OCCT 6.7.0
|
||||
#################################################
|
||||
cpulimit 100
|
||||
restore [locate_data_file bug27665_wircmpd.brep] w
|
||||
explode w
|
||||
|
||||
dset d1_val 1000
|
||||
dset d2_val 1000
|
||||
|
||||
distmini d1 w_1 w_2
|
||||
distmini d2 w_2 w_1
|
||||
|
||||
if {[dval d1_val] > 1.0e-7} {
|
||||
puts "1st case: Wrong result of distmini command - Error"
|
||||
} else {
|
||||
puts "1st case: distmini command works properly - OK"
|
||||
}
|
||||
|
||||
if {[dval d2_val] > 1.0e-7} {
|
||||
puts "2nd case: Wrong result of distmini command - Error"
|
||||
} else {
|
||||
puts "2nd case: distmini command works properly - OK"
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user