1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-06-30 12:14:08 +03:00
occt/tests/bugs/xde/bug22962
ink e2df45413e 0026314: Method SetShape working not correctly.
Test-cases for issues #25441 and #26314
small correction

Small corrections of test-cases for issues #25441 and #26314
2015-06-18 13:55:00 +03:00

24 lines
609 B
Plaintext
Executable File

puts "============"
puts "OCC22962"
puts "============"
puts ""
#######################################################################
# Invalid realization of reading and writing material in STEP
#######################################################################
set BugNumber OCC22962
set check_value 96
pload DCAF
ReadStep D1 [locate_data_file OCC22962-dm1-oc-214.stp]
set dump_info [ XDumpDF D1 ]
regexp {attributes dumped between ([-0-9.+eE]+)} ${dump_info} full a1
set c1 [string compare $a1 $check_value]
if { $c1 != 0 } {
puts "Faulty ${BugNumber}"
} else {
puts "OK ${BugNumber}"
}