Files
OCCT/tests/bugs/vis/bug288_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

31 lines
651 B
Plaintext
Executable File

puts "========================"
puts " OCC288 "
puts "(case 2)"
puts "========================"
restore [locate_data_file shading_105.brep] result
puts [checkshape result]
tclean result
vinit
vdisplay result
vsetdispmode result 1
isos result 0
triangles result
vfit
set tri 0
set nod 0
set info [trinfo result]
regexp { +([-0-9.+eE]+) +triangles} $info full tri
regexp { +([-0-9.+eE]+) +nodes} $info full nod
puts [format " tri= %s nod= %s " $tri $nod]
if { $tri != 1170 && $nod != 647} {
puts " Warning: OCC288 (case 2) looks like OK, but visual checking is required !!!!"
} else {
puts " OCC288 (case 2) : Faulty"
}
set only_screen 1