From 7f8beedda72d14216abe91fb5c24a06cd9dc9da3 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sun, 27 Dec 2009 11:05:22 +0000 Subject: Use some pseudo random numbers in test_container_sort. svn-id: r46618 --- test/common/algorithm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 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()); -- cgit v1.2.3