0024898: Test "bugs modalg_1 buc60782_1" is incorrect
authorski <ski@opencascade.com>
Wed, 21 Jan 2015 08:53:27 +0000 (11:53 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 5 Mar 2015 11:12:03 +0000 (14:12 +0300)
Test case was corrected.

tests/bugs/modalg_1/buc60782_1

index 0cc51d71a24fd58b043e19e57d0aeb4bb26f3cea..f23dab60e043dc070a490a25f14549c35f052a6f 100755 (executable)
@@ -1,9 +1,3 @@
-puts "TODO ?OCC12345 ALL: An exception was caught"
-puts "TODO ?OCC12345 ALL: \\*\\* Exception"
-puts "TODO ?OCC12345 ALL: Error: Offset is not done."
-puts "TODO ?OCC12345 ALL: Faulty BUC60782: mkoffset works wrongly"
-puts "TODO ?OCC12345 ALL: Error : The square of result shape is"
-
 puts "========================"
 puts "BUC60782"
 puts "CASE 1"
@@ -27,14 +21,13 @@ if { [regexp {OK} $che ] != 1} {
 } else {
     puts "Checking of SOURCE shape by checkshape - OK"
     if [catch { mkoffset result a 1 10 } catch_result] {
-       puts "Faulty BUC60782: mkoffset works wrongly"
-       renamevar a result
+      puts "Faulty BUC60782: mkoffset works wrongly"
+      renamevar a result
     } else {
-       puts "OK BUC60782: offset is created"
-       compound result_1 a result
-        
-    }    
+      puts "OK BUC60782: offset is created"
+      renamevar result_1 result
+    }
 }
 
-set square 4.24716e+006
+set length 9026.65
 set 2dviewer 0