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