0029351: Boolean Operations create invalid pcurves
[occt.git] / tests / bugs / heal / bug26957
CommitLineData
cba287d6 1puts "============"
2puts "OCC26957"
3puts "============"
4puts ""
5###########################################################
6## Unify same domain operation is slow for multiple shells
7###########################################################
8
9restore [locate_data_file bug26957-w-700.brep] a1
10
11nbshapes a1
12regexp {([-0-9.+eE]+)} [time {unifysamedom r1 a1}] full t1
13puts "t1=$t1"
14
15sewing a2 0.0 a1
16
17puts ""
18nbshapes a2
19regexp {([-0-9.+eE]+)} [time {unifysamedom r2 a2}] full t2
20puts "t2=$t2"
21
22set tol_rel 0.1
23if { [expr (${t1}*1. - ${t2}) / ${t2}] > ${tol_rel}} {
24 puts "Error: Unify same domain operation is slow for multiple shells"
25}