aboutsummaryrefslogtreecommitdiff
path: root/test/common/algorithm.h
diff options
context:
space:
mode:
authorJohannes Schickel2009-12-27 11:05:22 +0000
committerJohannes Schickel2009-12-27 11:05:22 +0000
commit7f8beedda72d14216abe91fb5c24a06cd9dc9da3 (patch)
treeeb7d868aa4df492544b10bfcde03ceccb6f007cd /test/common/algorithm.h
parent835c6c0d6325818f075c157ad57edb182b361c54 (diff)
downloadscummvm-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
Diffstat (limited to 'test/common/algorithm.h')
-rw-r--r--test/common/algorithm.h2
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());