0031304: Configuration - TKACIS building failure due to duplicated symbol GeomFillFus...
[occt.git] / tests / bugs / vis / bug185
CommitLineData
a87752f3 1puts "========"
2puts "OCC185"
3puts "========"
4
5pload XDE
6
7igesbrep [locate_data_file OCC185.igs] a *
8
9tpcompound result
10tclean result
11
12vinit
13vdisplay result
14vfit
15
f1aa2b62 16set x_coord 235
17set y_coord 214
a87752f3 18
19vsetdispmode result 1
a87752f3 20
f1aa2b62 21checkcolor $x_coord $y_coord 0.78 0.55 0.9
a87752f3 22
f1aa2b62 23if { $stat != 1 } {
a87752f3 24 puts "Error : Shading is OFF, but should be ON"
25}
26
27vsetdispmode result 0
28
f1aa2b62 29checkcolor $x_coord $y_coord 0 1 0
30
31if { $stat != 1 } {
a87752f3 32 puts "Error : Shading is ON, but should be OFF"
33}
34
5747059b 35checkview -screenshot -3d -path ${imagedir}/${test_image}.png
f1aa2b62 36