0026742: Update test cases for using checknbshapes procedure instead of global variables
[occt.git] / tests / bugs / modalg_2 / bug5805_24
index 4ad8553..9f26fb6 100755 (executable)
@@ -32,16 +32,7 @@ catch { OFFSETSHAPE $distance {s_3 s_2} $calcul $type }
 
 set square 489.372
 
-set nb_v_good 3
-set nb_e_good 5
-set nb_w_good 6
-set nb_f_good 4
-set nb_sh_good 1
-set nb_sol_good 1
-set nb_compsol_good 0
-set nb_compound_good 0
-set nb_shape_good 20
-
+checknbshapes result -vertex 3 -edge 5 -wire 6 -face 4 -shell 1 -solid 1 -compsolid 0 -compound 0 -shape 20
 
 set index [lsearch [whatis s] Closed]
 if {$index == -1} {