0021762: Integration of new Boolean Operation algorithm to OCCT.
[occt.git] / tests / draft / end
index 37b8817..eefd975 100755 (executable)
@@ -5,15 +5,15 @@ if { [isdraw result] } {
    set ch [checkshape result]
    puts $ch
    if { $m == 0 } {
    set ch [checkshape result]
    puts $ch
    if { $m == 0 } {
-       puts "Error : The depouille is not valid. The square is 0."
+       puts "Error : The skin is not valid. The area is 0."
    }
 
    if { $square > 0 } {
    }
 
    if { $square > 0 } {
-      puts "The expected square is $square"
+      puts "The expected area is $square"
    }
    #check of change of square is < 1%
    }
    #check of change of square is < 1%
-   if { ($square != 0 && [expr abs($square - $m)/$square] > 0.01) || ($square == 0 && $m != 0) } {
-      puts "Error : The square of reult shape is $m"
+   if { ($square != 0 && [expr 1.*abs($square - $m)/$square] > 0.01) || ($square == 0 && $m != 0) } {
+      puts "Error : The area of the resulting shape is $m"
    }
    if { [string compare $ch "This shape seems to be valid"] == 0 } {
       #check if tolerance is less 1.
    }
    if { [string compare $ch "This shape seems to be valid"] == 0 } {
       #check if tolerance is less 1.
@@ -26,7 +26,7 @@ if { [isdraw result] } {
          regexp {Tolerance +MAX=([-0-9.+eE]+)} [tolerance result] full tol
       }
       if { $tol > 1. } {
          regexp {Tolerance +MAX=([-0-9.+eE]+)} [tolerance result] full tol
       }
       if { $tol > 1. } {
-         puts "Error: The tolerance of result shape is too big ($tol)."
+         puts "Error: The tolerance of the resulting shape is too big ($tol)."
       }
    }
 
       }
    }
 
@@ -35,10 +35,10 @@ if { [isdraw result] } {
       smallview
       donly result
       fit
       smallview
       donly result
       fit
-      xwd $imagedir/${test_image}.gif
+      xwd $imagedir/${test_image}.png
    }
 } else {
    }
 } else {
-   puts "Error : The depouille can not be build."
+   puts "Error : The skin cannot be built."
 }
 
 # to end a test script
 }
 
 # to end a test script