puts "============"
puts "OCC6862"
puts "============"
puts ""
#######################################################################
# Tool for checking arguments of Boolean Operations
#######################################################################

set BugNumber OCC6862

# test small edges
restore [locate_data_file OCC651a.brep] a 

puts "Checking shapes: bopargcheck a b /FTVEIP ..."
set resstr [bopargcheck a /FTVEIP]

if {$resstr=="Faulties, that can not be treated by BOP, are detected.\n"} {
    puts "OK ${BugNumber}"
} else {
    puts "Faulty ${BugNumber}"
}

checkview -display result -2d -path ${imagedir}/${test_image}.png

