0027624: ViewerTest - vdrawtext command ignores text display options
[occt.git] / tests / sewing / fast / A1
CommitLineData
7693827d 1if { [regexp {Debug mode} [dversion]] } {
2 if { [regexp {Windows} [dversion]] } {
3 set max_time 9
4 } else {
5 set max_time 9
6 }
7} else {
8 if { [regexp {Windows} [dversion]] } {
9 set max_time 3
10 } else {
11 set max_time 3
12 }
13}
14
15restore [locate_data_file 5000-12.brep] a
16
17dchrono ch reset
18dchrono ch start
19puts [fastsewing result -tol 2.0e-5 a]
20dchrono ch stop
21
22set q [dchrono ch show]
23
24regexp {CPU user time: ([-0-9.+eE]+) seconds} $q full z
25puts "$z"
26
27if { $z > ${max_time} } {
28 puts "Elapsed time is more than ${max_time} seconds - Error"
29} else {
30 puts "Elapsed time is less than ${max_time} seconds - OK"
31}
32
33donly result
34checkshape result
35
36set nbshapes_expected "
37Number of shapes in shape
38 VERTEX : 5556
39 EDGE : 11118
40 WIRE : 5552
41 FACE : 5552
42 SHELL : 1
43 SOLID : 0
44 COMPSOLID : 0
45 COMPOUND : 1
46 SHAPE : 27780
47"
48
49checknbshapes result -ref "${nbshapes_expected}" -t -m "Partition of 2 shapes"