0030760: Modeling Algorithms - Intersection fails in Occt 7.3.0
[occt.git] / tests / bugs / modalg_7 / bug28786_3
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 10 0 0
11vertex v2 0 0 -3
12vertex v3 5 0 0
13edge e1 v v1
14edge e2 v2 v3
15compound e1 e2 a
16
17vertex v4 5 0 5
18vertex v5 5 0 -5
19edge b v4 v5
20
21bclearobjects
22bcleartools
23baddobjects a
24baddtools b
25
26if {![regexp "Warning" [bfillds]]} {
27 puts "Error: WarningStatus has not been set"
28}
29
30bbuild result
31checkshape result
32checknbshapes result -edge 5