d9ede812a31e513db9c09ac115753fb17f970951
[occt.git] / tests / perf / modalg / bug26674
1 puts "========"
2 puts "OCC26674"
3 puts "========"
4 puts ""
5 #################################################
6 # Performance regression in BRepExtrema_DistShapeShape in OCCT 6.9.0 in compare with OCCT 6.7.1
7 #################################################
8
9 set max_time 1
10
11 restore [locate_data_file OCC26674-face.brep] a1
12 restore [locate_data_file OCC26674-shell.brep] a2
13
14 dchrono cr restart
15 distmini dd a1 a2
16 dchrono cr stop counter distmini
17
18 regexp {([-0-9.+eE]+)$} [dump dd_val] full dist
19
20 set expected_dist 0.0
21 set tol_abs_dist 1.0e-07
22 set tol_rel_dist 0.0
23 checkreal "Dump of dd_val" ${dist} ${expected_dist} ${tol_abs_dist} ${tol_rel_dist}