X-Git-Url: http://git.scottworley.com/inverse-tax/blobdiff_plain/82b7a49862ffba0bcd9e6b5500b4ed2e901444e8..b442070b44917301d40c5a6cbf996898175908be:/tax.test.js?ds=sidebyside diff --git a/tax.test.js b/tax.test.js index 14c48c0..27767fe 100644 --- a/tax.test.js +++ b/tax.test.js @@ -57,5 +57,7 @@ test("invert", () => { assert.strictEqual(invert([ ])(10), 10); assert.strictEqual(invert([[ 0, Infinity, .1]])( 9), 10); assert.strictEqual(invert([[10, Infinity, .1]])(19), 20); + assert.strictEqual(invert([[10, Infinity, .1]])( 9), 9); assert.strictEqual(invert([[0, 100, .1], [100, Infinity, .2]])(170), 200); + assert.strictEqual(invert([[0, 100, .1], [100, Infinity, .2]])(112), 127.5); });