0026742: Update test cases for using checknbshapes procedure instead of global variables
[occt.git] / tests / thrusection / specific / B7
index 9c9b6c3..dd10283 100755 (executable)
@@ -23,16 +23,7 @@ catch {thrusections result ${issolid} ${isruled} v1 w1 v2 }
 set square 2556.25
 
 
-set nb_v_good 2
-set nb_e_good 3
-set nb_w_good 1
-set nb_f_good 1
-set nb_sh_good 1
-set nb_sol_good 1
-set nb_compsol_good 0
-set nb_compound_good 0
-set nb_shape_good 9
-
+checknbshapes result -vertex 2 -edge 3 -wire 1 -face 1 -shell 1 -solid 1 -compsolid 0 -compound 0 -shape 9
 
 
 set index [lsearch [whatis result] Closed]