1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00

0002845: Regression of work of selections for STEP translator.

Adding test case
This commit is contained in:
apv 2014-07-31 13:28:27 +04:00 committed by bugmaster
parent e4b5c45aa6
commit f07434e2cc

16
tests/bugs/xde/bug2845 Normal file
View File

@ -0,0 +1,16 @@
puts "============"
puts "OCC2845"
puts "============"
puts ""
########################################################
# Regression of work of selections for STEP translator
########################################################
stepread [locate_data_file ec_exhaust-A.stp] a *
set bug_info [listtypes xst-transferrable-roots]
set bug_info [string trim [string range $bug_info [expr {[string last ":" $bug_info] + 1}] [expr {[string length $bug_info] - 1}]]]
set bug_info [string trim [string range $bug_info 0 [expr {[string first " " $bug_info] - 1}]]]
if {$bug_info != 4} {
puts "ERROR: OCC2845 is reproduced"
}