0025748: Parallel version of progress indicator
[occt.git] / tests / bugs / modalg_5 / bug22747
CommitLineData
06da7b7e 1puts "============"
2puts "OCC22747"
3puts "============"
4puts ""
5###########################################################################
6# Progress indicator in sewing algorithm
7###########################################################################
8
9set BugNumber OCC22747
10
11pload XSDRAW
12
13restore [locate_data_file OCC22765.brep] a
14vinit
15XProgress -t
16set List1 [sewing result 0.1 a]
17if { [string compare $List1 ""] != 0 } {
7e785937 18 puts "Error: XProgress should not have any DRAW output in this mode"
06da7b7e 19} else {
20 puts "Mode -t works properly"
21}
22
23puts "----------------------"
24XProgress +t
25set List2 [sewing result 0.1 a]
26if { [regexp "Progress:" $List2] != 1 } {
27 puts "Error: XProgress should have output in this mode"
28} else {
29 puts "Mode +t works properly"
30}
31
fb60057d 32checkmaxtol result -ref 1.0000280013370991e-005
5ae01c85 33checknbshapes result -shell 1
34checkfreebounds result 456
35
5747059b 36checkview -display result -2d -path ${imagedir}/${test_image}.png
06da7b7e 37