1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-06-10 11:34:06 +03:00
occt/tests/bugs/moddata/buc60609
apn 352ffd7358 Adding test cases for chl grid
Test case tests/bugs/modalg/dxf906 was renamed to bug889
Adding test cases to tests/bugs/moddata
Modified expressions puts [checkshape result]. Added command vzfit in end file in folder bugs. Unlocked command coordload in QABugs_3.cxx
Modified test case bugs vis buc60738
Added test cases to modalg and moddata
Added test cases to caf and fclasses
Added test cases to group heal
2012-12-21 16:39:38 +04:00

27 lines
629 B
Plaintext
Executable File

puts "================"
puts "BUC60609"
puts "================"
pload QAcommands
set INF [BUC60609 [locate_data_file buc60609a.brep] a]
set ll [llength $INF]
set first [lindex $INF [expr $ll - 5]]
set second [lindex $INF [expr $ll - 1]]
if {$first != "INSIDE" && $first != "inside"} {
puts "Faulty BUC60609 first: $first is not right result. It should be INSIDE"
} else {
puts "BUC60609 first OK: It is INSIDE"
}
if {$second != "INSIDE"} {
puts "Faulty BUC60609 second: $second is not right result. It should be INSIDE"
} else {
puts "BUC60609 second OK: It is INSIDE"
}
renamevar a result
set 2dviewer 0