]> OCCT Git - occt-copy.git/commitdiff
# Correction of test case
authornbv <nbv@opencascade.com>
Mon, 12 Feb 2018 10:27:53 +0000 (13:27 +0300)
committernbv <nbv@opencascade.com>
Wed, 14 Feb 2018 11:57:29 +0000 (14:57 +0300)
(cherry picked from commit 663b5da04a351f0ba1ffc8b26c7df818ad56545b)

tests/bugs/modalg_7/bug25994

index c6af846a73decbc121ae4525fbe15b1bd00a7ce5..1c8e1f33052200d461cd43621c9f98315558a652 100644 (file)
@@ -9,10 +9,28 @@ puts ""
 restore [locate_data_file bug25994_body.brep] body
 restore [locate_data_file bug25994_wing.brep] wing
 
-bfuse result body wing
+bclearobjects
+bcleartools
+baddobjects body
+baddtools wing
+bfillds
+bbop rs 4
+
+regexp {nb alone Vertices : ([-0-9.+eE]+)} [checksection result] full nbv
+if { $nbv != 0 } { puts "Error : Section is not closed" }
+
+regexp {Tolerance MAX=([-0-9.+eE]+)} [tolerance rs] full toler
+if { $toler > 5.0e-5 } {
+  puts "Error: Tolerance after section is too large"
+}
+
+bbop result 1
 
 checkshape result
+checknbshapes result -solid 1 -shell 1 -face 13 -wire 15
+
+checkprops result -s 1.76161e+006 -v 1.07392e+008
 
 smallview
 fit
-checkview -screenshot -2d -path ${imagedir}/${test_image}.png
+checkview -display result -2d -path ${imagedir}/${test_image}.png