1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-01 08:03:02 +00:00

Improve randomness of numbers from new rng.

First few numbers are very biased.
This commit is contained in:
Calvin Rose
2019-11-10 17:44:59 -06:00
parent 6b76ac3d18
commit 16f6261b44
2 changed files with 4 additions and 1 deletions

View File

@@ -226,6 +226,7 @@
(with-dyns [:out @""]
(prin "abcd")
(prin (dyn :out))
(assert (deep= (dyn :out) @"abcdabcd") "print buffer to self"))
(prin (dyn :out))
(assert (deep= (dyn :out) @"abcdabcdabcdabcd") "print buffer to self"))
(end-suite)