0025982: Wrong result obtained by General Fuse operator.
[occt.git] / tests / bugs / modalg_5 / bug23906
CommitLineData
d633fd70 1puts "============"
2puts "OCC23906"
3puts "============"
4puts ""
5###############################
6## Performance of the projection algorithm in some cases became lower after integration of the fix for the bug 0022610
7###############################
8
9restore [locate_data_file bug23906_f.brep] f
10
11point p 3.5527136788005e-015 100 100
12
13dchrono h reset
14dchrono h start
15
16projponf f p -min -t
17
18dchrono h stop
19set q2 [dchrono h show]
20
21regexp {CPU user time: ([-0-9.+eE]+) seconds} $q2 full z
22puts "$z"
23if { [string compare $tcl_platform(platform) "windows"] == 0 } {
24 puts "OS = Windows NT"
c9fb8529 25 set max_time 0.5
d633fd70 26} else {
27 puts "OS = Linux"
28 set max_time 0.1
29}
30if { $z > ${max_time} } {
b58dfc5e 31 puts "Elapsed time is more than ${max_time} seconds - Faulty"
d633fd70 32} else {
b58dfc5e 33 puts "Elapsed time is less than ${max_time} seconds - OK"
d633fd70 34}