1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/perf/modalg/bug26674
ski 44fae8b193 0027691: Remove dchrono from all test cases and move its to perf group
Remove performance comparing with hardcoded value.
Test cases for performance of some commands were moved to perf group.

Updated documentation.
2017-01-19 17:24:46 +03:00

24 lines
641 B
Plaintext

puts "========"
puts "OCC26674"
puts "========"
puts ""
#################################################
# Performance regression in BRepExtrema_DistShapeShape in OCCT 6.9.0 in compare with OCCT 6.7.1
#################################################
set max_time 1
restore [locate_data_file OCC26674-face.brep] a1
restore [locate_data_file OCC26674-shell.brep] a2
dchrono cr restart
distmini dd a1 a2
dchrono cr stop counter distmini
regexp {([-0-9.+eE]+)$} [dump dd_val] full dist
set expected_dist 0.0
set tol_abs_dist 1.0e-07
set tol_rel_dist 0.0
checkreal "Dump of dd_val" ${dist} ${expected_dist} ${tol_abs_dist} ${tol_rel_dist}