1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00
Files
occt/tests/bugs/vis/bug154_2
apn f1aa2b6272 Adding new testing cases for chl grid
Adding procedures checkcolor and checkpoint.
Modified test cases which are used QAGetPixelColor or QAAISGetPixelColor2d
Allow using command QAAISGetPixelColor2d on WNT
Rename test case tests/bugs/vis/bug19619 to pro19619
Added test cases to modalg and moddata
2012-12-14 16:56:11 +04:00

33 lines
510 B
Plaintext
Executable File

puts "========"
puts "OCC154"
puts "========"
puts ""
#####################################################
##puts "Checking of function V2DERASE "
##puts "(visual checking for this case is desirable)"
#####################################################
v2dinit
box b 1 1 1
v2ddisplay b
box b1 10 10 10 1 1 1
v2ddisplay b1
v2dfit
v2derase b1
set x_coord 370
set y_coord 37
set color2d 1
checkcolor $x_coord $y_coord 0 0 0
if { $stat != 1 } {
puts "Object was not erased"
}
set only_screen2d 1