mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-29 14:00:49 +03:00
0024135: Result of reading step file is invalid.
Now wrong multiplicity of boundary knots will be set to Degree + 1 (if it is higher). Adding test case for issue CR24135
This commit is contained in:
27
tests/bugs/step/bug24135
Executable file
27
tests/bugs/step/bug24135
Executable file
@@ -0,0 +1,27 @@
|
||||
puts "========"
|
||||
puts "OCC24135"
|
||||
puts "========"
|
||||
puts ""
|
||||
#######################################################################
|
||||
# Result of reading step file is invalid.
|
||||
#######################################################################
|
||||
|
||||
set BugNumber OCC24135
|
||||
|
||||
stepread [locate_data_file bug24135_Drum.stp] a *
|
||||
|
||||
set exception_status 0
|
||||
set msg [ tpstat c ]
|
||||
set index [ lsearch $msg Exeption ]
|
||||
|
||||
if {$index > -1} {
|
||||
set exception_status 1
|
||||
}
|
||||
|
||||
if { ${exception_status} != 0 } {
|
||||
puts "Faulty ${BugNumber}"
|
||||
} else {
|
||||
puts "OK ${BugNumber}"
|
||||
}
|
||||
|
||||
set 2dviewer 0
|
Reference in New Issue
Block a user