Cosmetic update testing cases.
[occt.git] / tests / bugs / mesh / bug25378_1_1
1 puts "============"
2 puts "CR25378"
3 puts "============"
4 puts ""
5 ###################################################################################
6 # Building of triangulation for distored surfaces can take very long using BRepMesh_IncrementalMesh
7 ###################################################################################
8
9 restore [locate_data_file bug25378_Blower_bad.brep] b
10 trinfo b
11
12 tclean b
13 set t_1 [expr [lindex [time {incmesh b 0.1}] 0]/1000000]
14 puts "t_1=${t_1}"
15 trinfo b
16
17 if { [regexp {Debug mode} [dversion]] } {
18     set max_t_1 75
19 } else {
20   if { [regexp {Windows} [dversion]] } {
21     set max_t_1 50
22   } else {
23     set max_t_1 60
24   }
25 }
26
27 set tol_percent 0.05
28
29 checktime ${t_1} ${max_t_1} ${tol_percent} "1. Time of building of triangulation "