0026742: Update test cases for using checknbshapes procedure instead of global variables
[occt.git] / tests / bugs / modalg_2 / bug5805_38
index 2d746c5..7125820 100755 (executable)
@@ -47,16 +47,7 @@ catch { OFFSETSHAPE $distance {s_5} $calcul $type }
 
 set square 544.931
 
-set nb_v_good 16
-set nb_e_good 24
-set nb_w_good 12
-set nb_f_good 11
-set nb_sh_good 1
-set nb_sol_good 1
-set nb_compsol_good 0
-set nb_compound_good 0
-set nb_shape_good 65
-
+checknbshapes result -vertex 16 -edge 24 -wire 12 -face 11 -shell 1 -solid 1 -compsolid 0 -compound 0 -shape 65
 
 set index [lsearch [whatis s] Closed]
 if {$index == -1} {