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