diff options
author | P. J. McDermott <pj@pehjota.net> | 2017-01-07 05:03:45 (EST) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2017-01-07 05:03:45 (EST) |
commit | 1a6ff2903dc4e26be4a2921914feba1d973730d1 (patch) | |
tree | 6f0f46a53ac80f5bc3dc6b4d077ccb5b44a4e22f | |
parent | 2f6f1e382704f829628427995556e4f0e63fc82e (diff) | |
download | decmath.js-1a6ff2903dc4e26be4a2921914feba1d973730d1.zip decmath.js-1a6ff2903dc4e26be4a2921914feba1d973730d1.tar.gz decmath.js-1a6ff2903dc4e26be4a2921914feba1d973730d1.tar.bz2 |
test/13_drhtz-drhfz.js: Add missing it()s
Erm...
-rw-r--r-- | test/13_drhtz-drhfz.js | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/test/13_drhtz-drhfz.js b/test/13_drhtz-drhfz.js index a623d54..c6b5d61 100644 --- a/test/13_drhtz-drhfz.js +++ b/test/13_drhtz-drhfz.js @@ -47,7 +47,13 @@ describe("drhtz() and drhfz()", function() { ]; tests.forEach(function(test) { test.slice(3).forEach(function(f) { - assert.equal(f(test[0], test[1]), test[2]); + it("correctly round " + test[0] + + " with precision " + test[1] + " to " + + test[2], function() { + assert.equal( + f(test[0], test[1]), + test[2]); + }); }); }); }); @@ -65,7 +71,13 @@ describe("drhtz() and drhfz()", function() { ]; tests.forEach(function(test) { test.slice(3).forEach(function(f) { - assert.equal(f(test[0], test[1]), test[2]); + it("correctly round " + test[0] + + " with precision " + test[1] + " to " + + test[2], function() { + assert.equal( + f(test[0], test[1]), + test[2]); + }); }); }); }); @@ -76,7 +88,13 @@ describe("drhtz() and drhfz()", function() { ]; tests.forEach(function(test) { test.slice(3).forEach(function(f) { - assert.equal(f(test[0], test[1]), test[2]); + it("correctly round " + test[0] + + " with precision " + test[1] + " to " + + test[2], function() { + assert.equal( + f(test[0], test[1]), + test[2]); + }); }); }); }); |