0026742: Update test cases for using checknbshapes procedure instead of global variables
[occt.git] / tests / bugs / modalg_2 / bug22641
index 0ef73b8..428c41d 100755 (executable)
@@ -1,5 +1,5 @@
 puts "TODO OCC11111 ALL: Error : The square of result shape is"
-puts "TODO OCC11111 ALL: Error : Result shape is WRONG"
+puts "TODO OCC11111 ALL: Error :  is WRONG because number of"
 
 puts "================"
 puts "OCC22641"
@@ -17,16 +17,7 @@ testreadstep [locate_data_file OCC22641-RailBosch.stp] result
 
 set square 160133
 
-set nb_v_good 7608
-set nb_e_good 12032
-set nb_w_good 4750
-set nb_f_good 4444
-set nb_sh_good 1
-set nb_sol_good 1
-set nb_compsol_good 0
-set nb_compound_good 0
-set nb_shape_good 28836
-
+checknbshapes result -vertex 7608 -edge 12032 -wire 4750 -face 4444 -shell 1 -solid 1 -compsolid 0 -compound 0 -shape 28836
 vinit
 tclean result
 vsetdispmode 1