From 82b7a49862ffba0bcd9e6b5500b4ed2e901444e8 Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Thu, 23 May 2019 14:36:34 -0700 Subject: [PATCH] No infinite taxation --- tax.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tax.test.js b/tax.test.js index b495918..14c48c0 100644 --- a/tax.test.js +++ b/tax.test.js @@ -10,7 +10,7 @@ function near(a, b, epsilon = 1e-6) { return Math.abs(a - b) < epsilon; } -function rand(limit = 100) { +function rand(limit = 99) { return Math.round(Math.random() * limit); } -- 2.44.1