Files
cpp-thirdparty/noarch/lib/py/cxxtest/sample/mock/T/stdlib.h
Bassem Girgis 81b4b9e273 Initial commit
2018-12-20 17:34:07 -06:00

14 lines
307 B
C

#ifndef __T__STDLIB_H
#define __T__STDLIB_H
#include <stdlib.h>
#include <time.h>
#include <cxxtest/Mock.h>
CXXTEST_MOCK_VOID_GLOBAL( srand, ( unsigned seed ), ( seed ) );
CXXTEST_MOCK_GLOBAL( int, rand, ( void ), () );
CXXTEST_MOCK_GLOBAL( time_t, time, ( time_t *t ), ( t ) );
#endif // __T__STDLIB_H