diff options
author | Eduardo Julian | 2017-10-04 05:15:18 -0400 |
---|---|---|
committer | Eduardo Julian | 2017-10-04 05:15:18 -0400 |
commit | 36b89b978e8bc6f084e67a11207488ea2fe25c72 (patch) | |
tree | 7f57da40e80de58386dd53ed55546388bdf557d2 /stdlib/test | |
parent | 567a7580df7f1d62434865c28f68e51941279e76 (diff) |
- Fixed the tests for lux/math/random.
Diffstat (limited to '')
-rw-r--r-- | stdlib/test/test/lux/math/random.lux | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/test/test/lux/math/random.lux b/stdlib/test/test/lux/math/random.lux index ae33ab98f..003a3a803 100644 --- a/stdlib/test/test/lux/math/random.lux +++ b/stdlib/test/test/lux/math/random.lux @@ -3,6 +3,7 @@ (lux [io] (control [monad #+ do Monad]) (data [number] + text/format (coll [list] [vector] [array] @@ -14,8 +15,7 @@ lux/test) (context: "Random." - #seed +1504643924987 - [size (|> r;nat (:: @ map (n.% +100))) + [size (|> r;nat (:: @ map (|>. (n.% +100) (n.max +10)))) _list (r;list size r;nat) _vector (r;vector size r;nat) _array (r;array size r;nat) |