]> OCCT Git - occt-copy.git/commitdiff
Adjustment of test cases
authorabv <abv@opencascade.com>
Tue, 25 Aug 2015 16:40:56 +0000 (19:40 +0300)
committerabv <abv@opencascade.com>
Wed, 2 Sep 2015 11:39:26 +0000 (14:39 +0300)
- bugs modalg_6 bug26238: check real values with tolerance to avoid false failures due to numeric deviations
- draft angle G8: removed TODOs that do not exhibit in 6.9.1 branch
- boolean gdml_private O1: unstable

tests/boolean/gdml_private/O1
tests/bugs/modalg_6/bug26308
tests/draft/angle/G8

index ffb161768959ca433b7f00e2baa7e80c5262e6c6..822cf55166c34bf9420c7d0122bca3bf5eee77ad 100644 (file)
@@ -1,3 +1,3 @@
-puts "TODO OCC26018 ALL: Faulty shapes in variables faulty_1 to faulty_"
+puts "TODO ?OCC26018 ALL: Faulty shapes in variables faulty_1 to faulty_"
 source [locate_data_file 20000_h1-2_et5_401-ta13429.prt.2.gdml.tcl]
 
index 2bd85abb89ff2f7428486d182a2ceebbd5771571..4e9d1863ad588f91f48c37b57181bc1111e2e586 100644 (file)
@@ -26,14 +26,6 @@ set bug_info_x [string trim [string range $bug_info_x [expr {[string last "\n" $
 set bug_info_y [string trim [string range $bug_info_y [expr {[string last "\n" $bug_info_y] + 1}] [expr {[string length $bug_info_y] - 1}]]]
 set bug_info_z [string trim [string range $bug_info_z [expr {[string last "\n" $bug_info_z] + 1}] [expr {[string length $bug_info_z] - 1}]]]
 
-if {$bug_info_x != -5.42659125962715e+207} {
-  puts "ERROR: OCC26308 is reproduced. X value is incorrect."
-}
-
-if {$bug_info_y != 2.90803974424011e+209} {
-  puts "ERROR: OCC26308 is reproduced. Y value is incorrect."
-}
-
-if {$bug_info_z != -3.1731154470359e+207} {
-  puts "ERROR: OCC26308 is reproduced. Z value is incorrect."
-}
+checkreal "X value" $bug_info_x -5.42659125962715e+207 0. 1e-9
+checkreal "X value" $bug_info_y  2.90803974424011e+209 0. 1e-9
+checkreal "X value" $bug_info_z -3.1731154470359e+207  0. 1e-9
index 86c36c44de7b15f3f3054f92cef245a2d6e0d44e..488fe34ddd555cabd010e323aa91defbc3c04894 100644 (file)
@@ -1,8 +1,5 @@
 #F6----------------------------------------------
-#puts "TODO OCC22803 Linux: Error in depouille"
-#puts "TODO OCC22803 Linux: Error : The skin cannot be built."
 puts "TODO OCC22803 Linux Windows: Faulty shapes in variables faulty_1 to faulty_"
-puts "TODO OCC22803 Linux Windows: Error : The area of the resulting shape is"
 polyline p 0 0 3  0 0 0  10 0 0  10 0 3  
 beziercurve bc 4 10 0 3  7 0 2  3 0 3  0 0 3
 mkedge bc bc