0028445: Data Exchange - Opening specific STEP file leads to application crash
[occt.git] / tests / bugs / step / bug26451
CommitLineData
d18c1ac0 1puts "========"
2puts "OCC26451"
3puts "========"
4puts ""
5##########################################################################
6# Crash importing STeP file
7##########################################################################
8
9stepread [locate_data_file bug26451_Test_STEP.stp] a *
10tpcompound result
11
9f984417 12checkprops result -s 551394
58cf74e0 13checkshape result
d18c1ac0 14
15set nbshapes_expected "
16Number of shapes in shape
9f984417 17 VERTEX : 8057
18 EDGE : 8372
19 WIRE : 1988
20 FACE : 1754
21 SHELL : 1754
d18c1ac0 22 SOLID : 0
23 COMPSOLID : 0
24 COMPOUND : 1
9f984417 25 SHAPE : 21926
d18c1ac0 26"
27checknbshapes result -ref ${nbshapes_expected} -t -m "importing file"
5747059b 28checkview -display result -3d -path ${imagedir}/${test_image}.png