Changeset b3048d4 for src/tests/random.c
- Timestamp:
- Jan 2, 2018, 2:19:30 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 300d75b
- Parents:
- 8aa474a (diff), 54aba8d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tests/random.c
r8aa474a rb3048d4 10 10 // Created On : Tue Jul 5 21:29:30 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sun Dec 24 07:48:23 201713 // Update Count : 1 812 // Last Modified On : Tue Jan 2 12:19:34 2018 13 // Update Count : 19 14 14 // 15 15 … … 19 19 20 20 int main() { 21 // random_seed( getpid() ); // set random seed22 random_seed( 1003 );// fixed seed for repeatable tests21 // srandom( getpid() ); // set random seed 22 srandom( 1003 ); // fixed seed for repeatable tests 23 23 24 24 // test polymorphic calls to random and stream
Note: See TracChangeset
for help on using the changeset viewer.