From a7ac3bc258c196a6b6be768fcb56d10795becd2b Mon Sep 17 00:00:00 2001 From: Christoph Diehl <1614333+posidron@users.noreply.github.com> Date: Wed, 9 May 2018 17:46:20 +0200 Subject: [PATCH] Evenly distribute make.numbers.any() --- lib/make/numbers.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/make/numbers.js b/lib/make/numbers.js index 52b4f69..d96b7f2 100644 --- a/lib/make/numbers.js +++ b/lib/make/numbers.js @@ -74,9 +74,9 @@ class number extends make { static any () { let value = random.choose([ - [10, number.float], - [10, [number.range, number.tiny]], - [1, number.unsigned] + [1, number.float], + [1, number.unsigned], + [1, [number.range, number.tiny]] ]) return random.chance(10) ? -value : value }