mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
0025171: Data Exchange - STEP Lexer - the strings with quote sign inside can't be properly lexed
Add a test case to verify that the .STEP is read correctly
This commit is contained in:
parent
3d46ce87d7
commit
4661dcadd4
15
tests/bugs/step/bug25171
Normal file
15
tests/bugs/step/bug25171
Normal file
@ -0,0 +1,15 @@
|
||||
puts "========================"
|
||||
puts "0025171: STEP Lexer - the strings with quote sign inside can't be properly lexed"
|
||||
puts "========================"
|
||||
|
||||
# Read file
|
||||
stepread [locate_data_file bug25171.stp] res *
|
||||
|
||||
# Checking
|
||||
set state [data c]
|
||||
if { [regexp "6425 Entities, of which 65 Root" $state] != 1 } {
|
||||
puts "Error : wrong count of transferred roots"
|
||||
}
|
||||
|
||||
checknbshapes res_1 -face 53 -shell 5 -solid 5
|
||||
checkshape res_1 f
|
Loading…
x
Reference in New Issue
Block a user