0026742: Update test cases for using checknbshapes procedure instead of global variables
[occt.git] / tests / bugs / modalg_2 / bug22770_26
index c9d22bb..06d6f8b 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"
@@ -17,16 +17,7 @@ sewing result 0.1 a b +mint 0.01 +s
 
 set square 1.88469e+07
 
-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
-
+checknbshapes result -vertex 476 -edge 748 -wire 273 -face 259 -shell 2 -solid 0 -compsolid 0 -compound 1 -shape 1759
 checkmaxtol result -ref 0.080878557461246572
 checknbshapes result -shell 2
 checkfreebounds result 0