X-Git-Url: http://git.scottworley.com/inverse-tax/blobdiff_plain/2d75ab3b4dcad01ee65123f680363d45bd9578a3..9c149d52fcc4ed94f5de81801c1ecf8fc56adb60:/tax.test.js diff --git a/tax.test.js b/tax.test.js index 21b98b6..29f436f 100644 --- a/tax.test.js +++ b/tax.test.js @@ -16,7 +16,7 @@ function rand(limit = 99) { function make_random_tax_table() { function make_random_table(min_threshold) { - if (rand(2)) return []; + if (rand(4) == 0) return []; const start = min_threshold === undefined ? rand() : min_threshold; const end = start + 1 + rand(); return [[start, rand()]].concat(make_random_table(end));