0024223: Review of unstable test cases
[occt.git] / tests / bugs / moddata_1 / bug22623
CommitLineData
8db070a5 1
809eca9d 2puts "============"
3puts "OCC22623"
4puts "============"
5puts ""
6puts "ATTENTION! TEST IN DEBUG MODE!"
7puts ""
8#######################################################################
9# Use of uninitializaed variables in HLRBRep_Curve::UpdateMinMax in debug mode
10#######################################################################
11
12catch { pload XDE }
13
14set BugNumber OCC22623
15
16stepread [locate_data_file OCC22623-fg5test.step] a *
17
18# Axes for a_3 only
19hprj p1 -166.887936587259 -524.121423723229 -3.52089319794717 0. 0. 1. 1. 0. 0.
20
21# Axes for complete assembly
22compound a_1 a_2 a_3 a_4 a_5 a
23houtl o1 a_3
24hfill o1 p1 0
25hload o1
26hsetprj p1
27hupdate
28
29set exception_status 0
30set r [hhide]
31set index [lsearch $r exception]
32if {$index > -1} {
33 set exception_status 1
34}
35
36hres2d
37
38# Resume
39puts ""
40if { ${exception_status} != 0 } {
41 puts "Faulty ${BugNumber}"
42} else {
43 puts "OK ${BugNumber}"
44}
45