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