mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-06-10 11:34:06 +03:00
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
46 lines
640 B
Plaintext
Executable File
46 lines
640 B
Plaintext
Executable File
|
|
puts "============"
|
|
puts "BUC60848"
|
|
puts "============"
|
|
puts ""
|
|
|
|
pload QAcommands
|
|
|
|
restore [locate_data_file BUC60848.brep] a
|
|
checkshape a
|
|
|
|
tcopy a res
|
|
|
|
set Flag 0
|
|
|
|
set Res [ catch { BUC60848 a } ]
|
|
if { $Res != 0 } {
|
|
invert a
|
|
set Flag 1
|
|
puts ""
|
|
}
|
|
|
|
if { $Flag == 1 } {
|
|
set Res [ catch { BUC60848 a } ]
|
|
if { $Res != 0 } {
|
|
set Flag 2
|
|
}
|
|
puts ""
|
|
}
|
|
|
|
if { $Flag == 2 } {
|
|
puts "TEST FINISHED. RESULT IS BAD. Faulty"
|
|
puts ""
|
|
}
|
|
|
|
if { $Flag == 1 } {
|
|
puts "TEST FINISHED. RESULT IS OK. SHAPE HAS BEEN INVERTED."
|
|
puts ""
|
|
}
|
|
|
|
if { $Flag == 0 } {
|
|
puts "TEST FINISHED. RESULT IS OK."
|
|
puts ""
|
|
}
|
|
|