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