0026742: Update test cases for using checknbshapes procedure instead of global variables
[occt.git] / tests / thrusection / specific / E1
index b13d6a8..bfe9354 100755 (executable)
@@ -22,16 +22,7 @@ catch {thrusections result ${issolid} ${isruled} v1 w1 v2}
 
 set square 400.925
 
-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 0
-set nb_compsol_good 0
-set nb_compound_good 0
-set nb_shape_good 13
-
+checknbshapes result -vertex 3 -edge 5 -wire 2 -face 2 -shell 1 -solid 0 -compsolid 0 -compound 0 -shape 13
 
 
 set index [lsearch [whatis result] Closed]