mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-07-10 12:25:50 +03:00
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
31 lines
612 B
Plaintext
Executable File
31 lines
612 B
Plaintext
Executable File
puts "========================"
|
|
puts " OCC225 "
|
|
puts "========================"
|
|
puts ""
|
|
#################################################
|
|
##puts "Checking of function V2DUNSETCOLOR for BOX "
|
|
##puts "(visual checking for this case is desirable)"
|
|
#################################################
|
|
|
|
v2dinit
|
|
|
|
box b_b 10 15 20
|
|
v2ddisplay b_b 0 0 0 1 1 1 1 0 0
|
|
v2dfit
|
|
v2dsetcolor b_b BLUE3
|
|
wait 5
|
|
v2dunsetcolor b_b
|
|
|
|
set x_coord 22
|
|
set y_coord 230
|
|
set color2d 1
|
|
|
|
checkcolor $x_coord $y_coord 1 1 0
|
|
|
|
if { $stat != 1 } {
|
|
puts "Error : function V2DUNSETCOLOR for BOX 2D does NOT WORK properly"
|
|
}
|
|
|
|
set only_screen2d 1
|
|
|