diff options
author | Simon Hafner <hafnersimon@gmail.com> | 2012-09-06 17:25:52 -0500 |
---|---|---|
committer | Simon Hafner <hafnersimon@gmail.com> | 2012-09-06 17:25:52 -0500 |
commit | e9bbc7235dc017a97fdc831efdaacb5325984d18 (patch) | |
tree | f794657f289f518d6a99aa765a161dbd6eab5d12 /tests/run | |
parent | 33cabeb04d4dc00f4edf40096f790b510f915dd9 (diff) | |
download | Nim-e9bbc7235dc017a97fdc831efdaacb5325984d18.tar.gz |
no uniqueCounter it is
Diffstat (limited to 'tests/run')
-rw-r--r-- | tests/run/tmath.nim | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/run/tmath.nim b/tests/run/tmath.nim index 67837b21a..65124306e 100644 --- a/tests/run/tmath.nim +++ b/tests/run/tmath.nim @@ -5,11 +5,10 @@ import sets suite "random int": test "there might be some randomness": var set = initSet[int](128) - for i in 1..10: - for j in 1..10: - randomize() - incl(set, random(high(int))) - check len(set) == 100 + randomize() + for i in 1..1000: + incl(set, random(high(int))) + check len(set) == 1000 test "single number bounds work": randomize() var rand: int |