- // fprintf (stderr,"Push %d, length=%d \n",cpt, gras_dynar_length(d));
+ //fprintf (stderr,"Push %d, length=%d \n",cpt, gras_dynar_length(d));
+ }
+ for (cursor=0; cursor< NB_ELEM; cursor++) {
+ gras_dynar_get(d,cursor,&cpt);
+ gras_assert2(cursor == cpt,
+ "The retrieved value is not the same than the injected one (%d!=%d)",
+ cursor,cpt);
+ }
+ gras_dynar_foreach(d,cursor,cpt){
+ gras_assert2(cursor == cpt,
+ "The retrieved value is not the same than the injected one (%d!=%d)",
+ cursor,cpt);