test/testqsort.c


Log

Author Commit Date CI Message
Cameron Cawley 0cca71a8 2022-05-18T22:12:05 Use SDLCALL for callbacks in public APIs
Sam Lantinga 120c76c8 2022-01-03T09:40:00 Updated copyright for 2022
Christian Rauch 3f257045 2021-03-26T23:46:31 test: portable 64bit address format specifier
Sam Lantinga 9130f7c3 2021-01-02T10:25:38 Updated copyright for 2021
Sam Lantinga a8780c6a 2020-01-16T20:49:25 Updated copyright date for 2020
Ozkan Sezer 6f8910e3 2019-08-04T14:56:02 minor warning fixes.
Sam Lantinga 5e13087b 2019-01-04T22:01:14 Updated copyright for 2019
Sam Lantinga e3cc5b2c 2018-01-03T10:03:25 Updated copyright for 2018
Sam Lantinga 45b774e3 2017-01-01T18:33:28 Updated copyright for 2017
Sam Lantinga 3ac201cf 2016-10-01T12:33:26 Fixed bug 3319 - Getting the POSIX out of testqsort.c Simon Hug There's a call to the POSIX function random in test/testqsort.c. Naturally, Windows doesn't do that. The attached patch changes the call to the SDLtest framework random functions and adds some seed control. Looking at SDLTest_RandomInitTime, I just want to say that 'srand((unsigned int)time(NULL)); a=rand(); srand(clock()); b=rand();' is an absolutely terrible way to initialize a seed on Windows because of its terrible LCG.
Philipp Wiesemann 43594e3f 2016-03-10T21:00:13 Removed unnecessary include statement in test program.
Ryan C. Gordon deb2acbc 2016-03-10T01:50:43 A simple test program for SDL_qsort().