0026742: Update test cases for using checknbshapes procedure instead of global variables
[occt.git] / tests / thrusection / specific / F7
index 5826095..9582239 100755 (executable)
@@ -1,4 +1,4 @@
-puts "TODO OCC7166 ALL: The resulting shape is WRONG "
+puts "TODO OCC7166 ALL: Error :  is WRONG because number of  "
 puts "TODO OCC7166 ALL: The square of the resulting shape is"
 
 puts "============"
@@ -34,16 +34,7 @@ catch {thrusections result ${issolid} ${isruled} wc1 w1 wc2}
 set square 314.974
 
 
-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]