0032208: Tests - refactor visualization tests to cover several graphic drivers
[occt.git] / tests / v3d / bugs / bug23709_3
1 puts "==========="
2 puts "OCC23709: Redesign of hlrtest command"
3 puts "==========="
4 puts ""
5
6 pload MODELING VISUALIZATION
7 restore [locate_data_file bug23709_solidcone.brep] result
8 vinit View1
9 vdisplay result
10 vrotate 35 0 0
11 vfit
12 vhlr on
13 vhlrtype algo result
14
15 vaspects -setwidth 5
16 if { "[vreadpixel 183 267 rgb name]" != "YELLOW" } {
17   puts "Error : color is not yellow"
18 }
19
20 vdump $imagedir/${casename}.png