diff options
author | Johannes Schickel | 2009-12-27 11:05:22 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-12-27 11:05:22 +0000 |
commit | 7f8beedda72d14216abe91fb5c24a06cd9dc9da3 (patch) | |
tree | eb7d868aa4df492544b10bfcde03ceccb6f007cd | |
parent | 835c6c0d6325818f075c157ad57edb182b361c54 (diff) | |
download | scummvm-rg350-7f8beedda72d14216abe91fb5c24a06cd9dc9da3.tar.gz scummvm-rg350-7f8beedda72d14216abe91fb5c24a06cd9dc9da3.tar.bz2 scummvm-rg350-7f8beedda72d14216abe91fb5c24a06cd9dc9da3.zip |
Use some pseudo random numbers in test_container_sort.
svn-id: r46618
-rw-r--r-- | test/common/algorithm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/common/algorithm.h b/test/common/algorithm.h index af1692027a..4d53c87099 100644 --- a/test/common/algorithm.h +++ b/test/common/algorithm.h @@ -55,7 +55,7 @@ public: Common::List<Item> list; for(int i = 0; i < n; ++i) - list.push_back(Item(i)); + list.push_back(Item(i * 0xDEADBEEF % 1337)); Common::sort(list.begin(), list.end(), ItemCmp()); checkSort(list.begin(), list.end(), ItemCmp()); |