1 #ifndef __T__STDLIB_H
2 #define __T__STDLIB_H
3 
4 #include <stdlib.h>
5 #include <time.h>
6 
7 #include <cxxtest/Mock.h>
8 
9 CXXTEST_MOCK_VOID_GLOBAL( srand, ( unsigned seed ), ( seed ) );
10 CXXTEST_MOCK_GLOBAL( int, rand, ( void ), () );
11 CXXTEST_MOCK_GLOBAL( time_t, time, ( time_t *t ), ( t ) );
12 
13 #endif // __T__STDLIB_H
14