0027531: Modeling Algorithms - Make the algorithm Approx_SameParameter more clear...
[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
caee80f3 15XProgress -tclOutput
06da7b7e 16XProgress -t
17set List1 [sewing result 0.1 a]
18if { [string compare $List1 ""] != 0 } {
19 puts "Error: XProgress should not have any output in this mode"
20} else {
21 puts "Mode -t works properly"
22}
23
24puts "----------------------"
25XProgress +t
26set List2 [sewing result 0.1 a]
27if { [regexp "Progress:" $List2] != 1 } {
28 puts "Error: XProgress should have output in this mode"
29} else {
30 puts "Mode +t works properly"
31}
32
fb60057d 33checkmaxtol result -ref 1.0000280013370991e-005
5ae01c85 34checknbshapes result -shell 1
35checkfreebounds result 456
36
5747059b 37checkview -display result -2d -path ${imagedir}/${test_image}.png
06da7b7e 38