[3b7b62]: TestRandom.c  Maximize  Restore  History

Download this file

14 lines (12 with data), 264 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
#include "AutoPanoSift.h"
//#ifdef TEST_MAIN
int main(int argc, char* argv[]) {
Random* r = Random_new0();
int i;
for(i=0; i<20; i++) {
printf("rand(%d, %d)=%d\n", 10, 42, Random_Next(r, 10, 42));
}
Random_delete(r);
return 0;
}
//#endif

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks