puts "============"
puts "OCC25509"
puts "============"
puts ""
######################################################
# Wrong shape considered as valid by checkshape
######################################################

# 02 Inverted solid with 3 shells growth + 2 holes
#     
#
restore [locate_data_file bug25509_r7.brep] result
invert result

decho off
set info [checkshape result]
decho on

if { [regexp "Faulty shapes in variables faulty_1" ${info}] != 1 } {
   puts "Error : There are no mistakes by checkshape-command"
} else {
   puts "OK : There are mistakes by checkshape-command"
}

set 2dviewer 1
