0028324: Configuration, genproj.tcl - compilation error while targeting OS X 10.8...
[occt.git] / tests / bugs / modalg_2 / bug452_1
CommitLineData
a87752f3 1
2puts "========"
3puts "OCC452"
4puts "(case 1)"
5puts "========"
6puts ""
7
8pcone pc 10 0 20
9explode pc f
10
11prism pcy pc_2 0 0 10
12
13dchrono h2 reset
14dchrono h2 start
15
16bcut result pc pcy
17
18dchrono h2 stop
19set q2 [ dchrono h2 show ]
20regexp {CPU user time: ([-0-9.+eE]+) seconds} $q2 full z2
21puts "$z2"
22if { $z2 > 3 } {
23 puts "Elapsed time is more then 3 seconds - Faulty"
24} else {
25 puts "Elapsed time is less then 3 seconds - OK"
26}
27
58cf74e0 28checkprops result -s 254.16
29checkshape result
5747059b 30checkview -display result -2d -path ${imagedir}/${test_image}.png
a87752f3 31