mirror of
https://github.com/yawut/SDL.git
synced 2026-08-25 10:14:57 -05:00
Add fuzzer to test lib
This commit is contained in:
@@ -54,11 +54,9 @@ extern "C" {
|
||||
/* ------- Definitions ------- */
|
||||
|
||||
/*
|
||||
* Macros that return random number in a specific format.
|
||||
* Float values are in the range [0.0-1.0].
|
||||
* Macros that return a random number in a specific format.
|
||||
*/
|
||||
#define SDL_TestRandomInt(c) ((int)SDL_TestRandom(c))
|
||||
#define SDL_TestRandomFloat(c) ((double)SDL_TestRandom(c)/(unsigned long)0xffffffff)
|
||||
#define SDLTest_RandomInt(c) ((int)SDLTest_Random(c))
|
||||
|
||||
/*
|
||||
* Context structure for the random number generator state.
|
||||
|
||||
Reference in New Issue
Block a user