1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-06-25 12:04:07 +03:00
occt/tests/bugs/xde/bug22962
abv 9baa853415 Revert "0026314: Method SetShape working not correctly."
This reverts commit e2df45413ea1d506d911c6f29dacf42c80ca8a35.
2016-02-17 12:33:27 +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 94
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}"
}