eda5f3a57d17c9b7ef328d56f3bd9d3ae314400f
[occt.git] / tests / bugs / moddata_2 / bug276
1 puts "========"
2 puts "OCC276"
3 puts "========"
4 puts ""
5 #########################################################
6 ##Bad performance of checkshape on faces with multiple wires 
7 #########################################################
8
9 restore [locate_data_file OCC276.brep] result
10
11 dchrono h2 reset
12 dchrono h2 start
13
14 checkshape result
15
16 dchrono h2 stop
17 set q2 [ dchrono h2 show ]
18 regexp {CPU user time: ([-0-9.+eE]+) seconds} $q2 full z2
19 if { [expr $z2 > 43] } {                             
20     puts "Elapsed time is more then 43 seconds - Faulty"
21 } else {
22     puts "Elapsed time is less then 43 seconds - OK"      
23 }
24
25 checkview -display result -2d -path ${imagedir}/${test_image}.png
26
27
28
29
30