From mboxrd@z Thu Jan 1 00:00:00 1970 From: jimb@sourceware.cygnus.com To: guile-cvs@sourceware.cygnus.com Subject: guile/guile-core/libguile Tag: jimb_mb_branch_ ... Date: Fri, 10 Sep 1999 08:40:00 -0000 Message-id: <19990910154047.30704.qmail@egcs.cygnus.com> X-SW-Source: 1999-q3/msg00569.html List-Id: CVSROOT: /egcs/carton/guile-home/cvsfiles Module name: guile Changes by: jimb@egcs.cygnus.com 99/09/10 08:40:47 Modified files: guile-core/libguile: Tag: jimb_mb_branch_1 check_mb.c Log message: Use our own random number generator, so the tests don't depend on a particular system or release. * check_mb.c (test_rand): New function. (test_rand_seed): New variable. (make_permutation, test_string_encodings): Use them, instead of srandom and random. Add tests for the conversion functions. * check_mb.c (all_encodings, texts): New variables. (struct text): New type. (one_conversion, test_conversions): New functions. (main_prog): Run the new tests.