1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-08 18:40:55 +03:00
ski a8676008f7 Adding of testing cases from subgroups 937 940 and 941 of CHL group
Splitting of subgroups bugs/modalg and bugs/moddata to optimise time of testing
Correction of end file in group v3d
Small correction of test case
2013-02-08 15:16:15 +04:00

47 lines
967 B
Plaintext
Executable File

pload QAcommands
puts "================"
puts "OCC22039"
puts "================"
puts ""
#######################################################################################
# Incorrect interactive detection (highlights) of elements
######################################################################################
set BugNumber OCC22039
restore [locate_data_file OCC12121-CrankArm.brep] result
vinit
vsetdispmode 1
vdisplay result
vfit
set x1 101
set y1 199
set Color [QAGetPixelColor ${x1} ${y1}]
vmoveto ${x1} ${y1}
set ColorMove [QAGetPixelColor ${x1} ${y1}]
vselect ${x1} ${y1}
set ColorSelect [QAGetPixelColor ${x1} ${y1}]
set Color_Status 0
if { ${Color} != ${ColorMove} && ${Color} != ${ColorSelect} && ${ColorMove} != ${ColorSelect} } {
set Color_Status 0
} else {
set Color_Status 1
}
# Resume
puts ""
if { ${Color_Status} != 0} {
puts "Faulty ${BugNumber}"
} else {
puts "OK ${BugNumber}"
}
set square 24859.6
set only_screen 1