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_2
ski 5747059b21 0026833: Create command checkview containing all viewer types
Created command checkview for displaying shapes.
2016-02-05 11:14:37 +03:00

23 lines
495 B
Plaintext
Executable File

puts "==============="
puts " GER61351 "
puts " CASE 2 "
puts "==============="
puts ""
puts "=================================="
puts "It takes visual check for this BUG"
puts "=================================="
vinit
GER61351 0 255 0
set x_coord 200
set y_coord 200
#checkcolor $x_coord $y_coord 0 1 0
if {"[vreadpixel $x_coord $y_coord rgb name]" != "GREEN"} {
puts "Error : Background color is NOT 0 1 0."
}
checkview -screenshot -3d -path ${imagedir}/${test_image}.png