Changeset 3010 for trunk/psLib/test/dataManip/tst_psRandom.c
- Timestamp:
- Jan 14, 2005, 3:56:55 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/dataManip/tst_psRandom.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/dataManip/tst_psRandom.c
r3007 r3010 59 59 60 60 // Valid type allocation with seed equal to zero 61 psLogSetDestination("file:seed_msglog1.txt"); 61 62 myRNG = psRandomAlloc(PS_RANDOM_TAUS, 0); 63 psLogSetDestination("dest:stderr"); 62 64 if (myRNG == NULL) { 63 65 printf("ERROR: Could not allocate psRandom structure\n"); … … 329 331 psRandom *myRNG1 = NULL; 330 332 myRNG1 = psRandomAlloc(PS_RANDOM_TAUS, SEED); 333 psLogSetDestination("file:seed_msglog2.txt"); 331 334 psRandomReset(myRNG1,0); 335 psLogSetDestination("dest:stderr"); 332 336 psFree(myRNG1); 333 337
Note:
See TracChangeset
for help on using the changeset viewer.
