X-Git-Url: http://git.scottworley.com/inverse-tax/blobdiff_plain/a659a4f09cf859b2a63dc5c15f0d4589220c9a83..82b7a49862ffba0bcd9e6b5500b4ed2e901444e8:/tax.test.js?ds=sidebyside 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); }