Correction of testing case for issue 24374
[occt.git] / tests / bugs / vis / bug597_5
CommitLineData
352ffd73 1if { [array get env os_type] != "" } {
2 set os $env(os_type)
3}
4if { [string compare $os "windows"] != 0 } {
352ffd73 5}
6
7puts "=================================="
8puts "BUC60569"
9puts "OCC597"
10puts "=================================="
11puts ""
12puts "=================================="
13puts "It takes visual check for this BUG"
14puts "=================================="
15puts ""
16
17restore [locate_data_file buc60569a.rle] result
18tclean result
19vinit
20
21checkshape result
22
23BUC60569 result
24vfit
4754e164 25
26vselect 250 190
27vselect 180 350 1
28vmoveto 250 190
29vmoveto 180 350
30vselect 390 390
31vselect 250 190 1
352ffd73 32
33set x_coord 335
34set y_coord 331
35
36checkcolor $x_coord $y_coord 0.8 0.8 0.8
37
38if {$stat != 1} {
39 puts "Error : The right face is NOT Selected by Shift Select command"
40}
41
4754e164 42vselect 180 350 1
352ffd73 43
44set x_coord 101
45set y_coord 347
46
47checkcolor $x_coord $y_coord 0.8 0.8 0.8
48
49if {$stat != 1} {
50 puts "Error : The left face is Selected by Shift Select command"
51}
52
53set only_screen 1
54