Restoring test cases removed by last commit.
[occt.git] / tests / bugs / moddata / bug453_3
CommitLineData
a87752f3 1puts "========"
2puts "OCC453"
3puts "(case 3)"
4puts "========"
5puts ""
6
7dchrono h2 reset
8dchrono h2 start
9
10set make_print_out 0
11
12dset SCALE 1000.
13dset SCALE1 5
14tolblend 0.01 1e-04 1e-05 1e-03
15
16restore [locate_data_file shading_137.brep] s
17tscale s 0 0 0 SCALE1
18explode s E
19
20blend result s 5.5*SCALE1 s_2 4*SCALE1 s_1 6*SCALE1 s_6 5*SCALE1 s_8 6*SCALE1 s_10 6.5*SCALE1 s_14 7*SCALE1 s_4 5.5*SCALE1 s_5 7*SCALE1 s_16 6*SCALE1 s_11 5*SCALE1 s_19 6.5*SCALE1 s_13
21explode result So
22tcopy result_1 result
23
24dchrono h2 stop
25set q2 [ dchrono h2 show ]
26regexp {CPU user time: ([-0-9.+eE]+) seconds} $q2 full z2
27puts "$z2"
28if { $z2 > 85 } {
29 puts "Elapsed time is more then 85 seconds - Faulty"
30} else {
31 puts "Elapsed time is less then 85 seconds - OK"
32}
33
34set 2dviewer 1
35