0026742: Update test cases for using checknbshapes procedure instead of global variables
[occt.git] / tests / bugs / xde / bug23182
index b2251f4..eaa0512 100755 (executable)
@@ -14,16 +14,7 @@ set CheckShape_status 0
 
 set square 1.24252
 
-set nb_v_good 98
-set nb_e_good 98
-set nb_w_good 1
-set nb_f_good 1
-set nb_sh_good 1
-set nb_sol_good 0
-set nb_compsol_good 0
-set nb_compound_good 0
-set nb_shape_good 199
-
+checknbshapes result -vertex 98 -edge 98 -wire 1 -face 1 -shell 1 -solid 0 -compsolid 0 -compound 0 -shape 199
 set aClosed [lindex [whatis result] end]
 if { ${aClosed} != "Orientable" } {
    set CheckShape_status 1