0027300: Boolean operation produces invalid shape in terms of "bopargcheck" command
[occt.git] / tests / bugs / modalg_6 / bug27085_1
CommitLineData
26ca3bd5 1puts "============"
2puts "OCC27085"
3puts "============"
4puts ""
5###############################
6## ShapeUpgrade_UnifySameDomain very large performance difference for seemingly similar shapes
7###############################
8
9restore [locate_data_file bug27085_fused_primitive.fast.brep] fp
10
11dchrono h reset
12dchrono h start
13
14unifysamedom res fp
15
16dchrono h stop
17set q [dchrono h show]
18
19regexp {CPU user time: ([-0-9.+eE]+) seconds} $q full z
20puts "$z"
21
22set max_time 5
23
24if { $z > ${max_time} } {
25 puts "Elapsed time is more than ${max_time} seconds - Faulty"
26} else {
27 puts "Elapsed time is less than ${max_time} seconds - OK"
28}