Adding test cases from chl grid
[occt.git] / tests / bugs / vis / bug597_4
CommitLineData
352ffd73 1if { [array get env os_type] != "" } {
2 set os $env(os_type)
3}
4if { [string compare $os "windows"] != 0 } {
09494223 5 puts "TODO ?OCC12345 ALL: An exception was caught"
6 puts "TODO ?OCC12345 ALL: \\*\\* Exception \\*\\*.*"
7 puts "TODO ?OCC12345 ALL: TEST INCOMPLETE"
352ffd73 8}
9
10puts "=================================="
11puts "BUC60569"
12puts "OCC597"
13puts "=================================="
14puts ""
15puts "=================================="
16puts "It takes visual check for this BUG"
17puts "=================================="
18puts ""
19
20restore [locate_data_file buc60569a.rle] result
21tclean result
22vinit
23
24checkshape result
25
26BUC60569 result
27vfit
4754e164 28
29vselect 250 190
30vselect 180 350 1
31vmoveto 250 190
32vmoveto 180 350
33vselect 390 390
352ffd73 34
35set x_coord 335
36set y_coord 331
37
38checkcolor $x_coord $y_coord 1 1 0
39
40if {$stat != 1} {
41 puts "Error : The right face is NOT deSelected."
42}
43
44set x_coord 101
45set y_coord 347
46
47checkcolor $x_coord $y_coord 1 1 0
48
49if {$stat != 1} {
50 puts "Error : The left face is NOT deSelected"
51}
52
53set only_screen 1
54