0027531: Modeling Algorithms - Make the algorithm Approx_SameParameter more clear...
[occt.git] / tests / bugs / modalg_2 / bug22770_26
index 310be2b..5fe8869 100755 (executable)
@@ -1,4 +1,4 @@
-puts "TODO OCC11111 ALL: Error : Result shape is WRONG"
+puts "TODO OCC11111 ALL: Error :  is WRONG because number of "
 
 puts "================"
 puts "OCC22770"
@@ -15,20 +15,11 @@ restore [locate_data_file 22770-trans.brep] b
 
 sewing result 0.1 a b +mint 0.01 +s
 
-set square 1.88469e+07
+checkprops result -s 1.88469e+07 
+checkshape result
 
-set nb_v_good 476
-set nb_e_good 748
-set nb_w_good 273
-set nb_f_good 259
-set nb_sh_good 2
-set nb_sol_good 0
-set nb_compsol_good 0
-set nb_compound_good 1
-set nb_shape_good 1759
-
-checkmaxtol result 0.00087010032709666047
+checknbshapes result -vertex 476 -edge 748 -wire 273 -face 259 -shell 2 -solid 0 -compsolid 0 -compound 1 -shape 1759
+checkmaxtol result -ref 0.083903522096914374
 checknbshapes result -shell 2
 checkfreebounds result 0
-
-set 3dviewer 0
+checkview -display result -3d -path ${imagedir}/${test_image}.png