0026742: Update test cases for using checknbshapes procedure instead of global variables
[occt.git] / tests / thrusection / specific / A1
index 33230d7..e5992a5 100755 (executable)
@@ -42,16 +42,7 @@ thrusections result ${issolid} ${isruled} v4 w1 v5
 
 set square 490.101
 
-set nb_v_good 5
-set nb_e_good 9
-set nb_w_good 6
-set nb_f_good 6
-set nb_sh_good 1
-set nb_sol_good 0
-set nb_compsol_good 0
-set nb_compound_good 0
-set nb_shape_good 27
-
+checknbshapes result -vertex 5 -edge 9 -wire 6 -face 6 -shell 1 -solid 0 -compsolid 0 -compound 0 -shape 27
 set index [lsearch [whatis result] Closed]
 if {$index == -1} {
   puts "Faulty ${BugNumber} : result is not Closed shape"