random.c
v22.2b14/testsuite/single/tests/efuns/random.c · 111 B
From the archive beta.tar.gz
Download the archive « Back to the archive contents
void do_tests() {
for (int i = 0; i < 100; i++) {
ASSERT(random(5) >= 0);
ASSERT(random(5) < 5);
}
}