0026833: Create command checkview containing all viewer types
[occt.git] / tests / bugs / end
1 if { [info exists rel_tol] } {
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 {
7       if { $rel_tol > 1 && $rel_tol < 100 } {
8         puts "Error: Improvement: The current area difference is $rel_err instead of $rel_tol"
9       }
10    }
11 }
12
13 # to end a test script
14 puts "TEST COMPLETED"