1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/bugs/vis/ger61351_1
ski 5747059b21 0026833: Create command checkview containing all viewer types
Created command checkview for displaying shapes.
2016-02-05 11:14:37 +03:00

18 lines
400 B
Plaintext
Executable File

puts "==============="
puts " GER61351 "
puts "=================================="
puts "CASE 1 :takes visual check "
puts "=================================="
vinit
GER61351 RED2
set x_coord 200
set y_coord 200
if {"[vreadpixel $x_coord $y_coord rgb name]" != "RED2"} {
puts "Error : Background color is NOT RED2."
}
checkview -screenshot -3d -path ${imagedir}/${test_image}.png