1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-09 18:50:54 +03:00
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

26 lines
488 B
Plaintext
Executable File

puts "======="
puts "OCC702"
puts "SAM1541"
puts "======="
puts ""
########################
## No possibility to make a prism.
########################
restore [locate_data_file OCC702.brep] a
if [ catch { prism result a 100 100 100 } catch_result ] {
puts "Faulty OCC702 (case 1)"
} else {
regexp {Mass +: +([-0-9.+eE]+)} [sprops result] full sq
if { $sq <= 0. } {
puts "Faulty OCC702 (case 2)"
} else {
puts "OCC702 OK"
}
}
set square 308957.
set 2dviewer 0