This is the mail archive of the
guile-cvs@sourceware.cygnus.com
mailing list for the Guile project.
guile/guile-core/libguile Tag: jimb_mb_branch_ ...
- To: guile-cvs@sourceware.cygnus.com
- Subject: guile/guile-core/libguile Tag: jimb_mb_branch_ ...
- From: jimb@sourceware.cygnus.com
- Date: 10 Sep 1999 15:40:47 -0000
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.