0014531: Boolean Operation Algorithm fails
[occt.git] / tests / bugs / end
CommitLineData
7856b126 1if { [info exists rel_tol] && $rel_tol > 0 } {
456b33eb 2 puts "\nChecking triangulation area (triarea command)..."
3 set rel_err [expr abs([CheckTriArea result $area_eps])]
4 if { $rel_err > $rel_tol } {
5 puts "Error : area by triangles differs from the actual area by $rel_err %"
6 } else {
7856b126 7 if { [info exists max_rel_tol_diff] && $max_rel_tol_diff > 0} {
8 checkreal "area difference" $rel_err $rel_tol $max_rel_tol_diff 0
9 } else {
10 if { $rel_tol > 1 && $rel_tol < 100 } {
11 puts "Error: Improvement: The current area difference is $rel_err instead of $rel_tol"
12 }
456b33eb 13 }
14 }
15}
16
fa920fb1 17# to end a test script
18puts "TEST COMPLETED"