Implemented g_test_rand*().
authorTim Janik <timj@src.gnome.org>
Tue, 20 Nov 2007 15:00:27 +0000 (15:00 +0000)
committerTim Janik <timj@src.gnome.org>
Tue, 20 Nov 2007 15:00:27 +0000 (15:00 +0000)
commite47c4253f9d83500c30f7b635b0b5da1300645ef
treedb526cc7871edce73898338a4402a945acb9a1bc
parentfcf30698fed2f1619ad8305f34c67dd5897a4f1c
Implemented g_test_rand*().

* gtestframework.h: fixed g_assert_cmp*() to evaluate arguments only once.
added g_assert_cmpuint(). completed g_test_rand*() to cover bits, ints,
doubles and ranges.

* gtestframework.c: fixed "--seed" option and implemented g_test_rand*().

svn path=/trunk/; revision=5881
glib/gtestframework.c
glib/gtestframework.h