Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

check_rand.c File Reference

#include <sys/types.h>
#include <dnet.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <check.h>

Go to the source code of this file.

Defines

#define SHUFFLE_TEXT   "hello how are you doing today?"

Functions

 START_TEST (test_rand_openclose)
END_TEST START_TEST (test_rand_get)
END_TEST START_TEST (test_rand_set)
END_TEST START_TEST (test_rand_shuffle)
END_TEST Suite * rand_suite (void)
int main (void)


Define Documentation

#define SHUFFLE_TEXT   "hello how are you doing today?"
 

Referenced by START_TEST().


Function Documentation

int main void   ) 
 

Definition at line 85 of file check_rand.c.

References rand_suite().

END_TEST Suite* rand_suite void   ) 
 

Definition at line 70 of file check_rand.c.

Referenced by main().

END_TEST START_TEST test_rand_shuffle   ) 
 

Definition at line 55 of file check_rand.c.

References rand_close(), rand_open(), rand_shuffle(), and SHUFFLE_TEXT.

END_TEST START_TEST test_rand_set   ) 
 

Definition at line 33 of file check_rand.c.

References memcmp(), memset, rand_close(), rand_get(), rand_open(), and rand_set().

END_TEST START_TEST test_rand_get   ) 
 

Definition at line 21 of file check_rand.c.

References rand_close(), rand_get(), and rand_open().

START_TEST test_rand_openclose   ) 
 

Definition at line 12 of file check_rand.c.

References NULL, rand_close(), and rand_open().


Generated on Sun May 14 14:51:22 2006 by  doxygen 1.4.2