mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-06 18:26:22 +03:00
0025844: Command checkshape does not detect error for case when degenerated edge does not contain geometric representation.
This commit is contained in:
parent
c259930b8e
commit
63073e35ce
24
tests/bugs/modalg_6/bug25844
Normal file
24
tests/bugs/modalg_6/bug25844
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
puts "================"
|
||||||
|
puts "OCC25844"
|
||||||
|
puts "================"
|
||||||
|
puts ""
|
||||||
|
#######################################################################
|
||||||
|
# Command "checkshape" does not detect error for case when degenerated edge does not contain geometric representation.
|
||||||
|
#######################################################################
|
||||||
|
|
||||||
|
restore [locate_data_file bug25843_onewire.brep] b
|
||||||
|
|
||||||
|
dlog reset
|
||||||
|
dlog on
|
||||||
|
|
||||||
|
checkshape b f
|
||||||
|
|
||||||
|
set info [dlog get]
|
||||||
|
dlog reset
|
||||||
|
dlog off
|
||||||
|
|
||||||
|
if { [regexp "checkshape failure" ${info}] != 1 } {
|
||||||
|
puts "Error : Command \"checkshape\" does not detect error for case when degenerated edge does not contain geometric representation."
|
||||||
|
} else {
|
||||||
|
puts "OK : Command \"checkshape\" work good"
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user