Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

[1442bb]: TestRandom.c Maximize Restore History

Download this file

TestRandom.c    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