0030386: Modeling Algorithms - Unable to perform Cut operation
[occt.git] / tests / bugs / modalg_7 / bug28786_4
CommitLineData
33ba8565 1puts "========"
2puts "OCC28786"
3puts "========"
4puts ""
5########################################
6# Refactoring of the Warning/Error reporting system of Boolean Operations Algorithm
7########################################
8
9vertex v 0 0 0
10vertex v1 1.e-5 0 0
11settolerance v1 1.e-5
12vertex v2 0 1.e-5 0
13edge a v v1
14edge b v v2
15
16bclearobjects
17bcleartools
18baddobjects a
19baddtools b
20
21if {![regexp "Warning" [bfillds]]} {
22 puts "Error: WarningStatus has not been set"
23}
24
25bbuild result
26checkshape result
27checknbshapes result -edge 2