mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-30 16:37:39 +00:00
Fix assert format strings/parameters in testautomation modules; improve output of SDL_CompareSurfaces to aid debugging; update platform_testSetErrorInvalidInput for SDL changes
This commit is contained in:
parent
0d38073a54
commit
52760dcdf1
8 changed files with 83 additions and 36 deletions
|
@ -1076,7 +1076,7 @@ sdltest_randomIntegerInRange(void *arg)
|
|||
max = 0;
|
||||
result = SDLTest_RandomIntegerInRange(min, max);
|
||||
SDLTest_AssertPass("Call to SDLTest_RandomIntegerInRange(0,0)");
|
||||
SDLTest_AssertCheck(result == 0, "Validated returned value; expected: 0, got: %d", min, max, result);
|
||||
SDLTest_AssertCheck(result == 0, "Validated returned value; expected: 0, got: %d", result);
|
||||
|
||||
/* Swapped min-max */
|
||||
min = (Sint32)SDLTest_RandomSint16();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue