blob: 6bff9f2a8906eca589e560f60d194dd433911265 [file] [edit]
puts "========"
puts "OCC28786"
puts "========"
puts ""
########################################
# Refactoring of the Warning/Error reporting system of Boolean Operations Algorithm
########################################
vertex v 0 0 0
vertex v1 1.e-5 0 0
settolerance v1 1.e-5
vertex v2 0 1.e-5 0
edge a v v1
edge b v v2
bclearobjects
bcleartools
baddobjects a
baddtools b
if {![regexp "Warning" [bfillds]]} {
puts "Error: WarningStatus has not been set"
}
bbuild result
checkshape result
checknbshapes result -edge 2