From b7c18ef8b05585aa3b43a4d8248da7146765c14f Mon Sep 17 00:00:00 2001 From: nbv Date: Wed, 10 May 2017 17:51:51 +0300 Subject: [PATCH] 0028725: Degradation in performance of BRepExtrema_DistShapeShape Test case has been created. --- tests/perf/modalg/bug28725 | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 tests/perf/modalg/bug28725 diff --git a/tests/perf/modalg/bug28725 b/tests/perf/modalg/bug28725 new file mode 100644 index 0000000000..185d446d46 --- /dev/null +++ b/tests/perf/modalg/bug28725 @@ -0,0 +1,23 @@ +puts "========" +puts "OCC28725" +puts "========" +puts "" +################################################# +# Degradation in performance of BRepExtrema_DistShapeShape +################################################# + +cpulimit 120 + +restore [locate_data_file bug28725_holes1.brep] h1 +restore [locate_data_file bug28725_holes2.brep] h2 + +dchrono cr restart +distmini dd h1 h2 +dchrono cr stop counter distmini + +set dist [dval dd_val] + +set expected_dist 1.7021376848002463 +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}