0032208: Tests - refactor visualization tests to cover several graphic drivers
[occt.git] / tests / vselect / bugs / bug25492
CommitLineData
0d828ac8 1puts "============"
2puts "CR25492: The selected subshape does not have topological relationship with original shape in OCC680"
3puts "============"
4puts ""
5
6pload MODELING VISUALIZATION
7
8set isEqual 0
9vinit
10box aShape 5 5 5 3 3 3
11vdisplay aShape
12vfit
13vselmode 4 1
14vselect 100 200
15vpickselected aSub
16explode aShape F
17
18for {set i 1} {$i <= 6 } {incr i} {
19 set aRes [compare aShape_$i aSub];
20 if { [lsearch $aRes equal] != -1} {
21 set isEqual 1
22 }
23}
24
25if {$isEqual == 0} { puts "Error: No selected sub-shape was found in exploded sub-shapes" }
26vdump ${imagedir}/${casename}.png