From 1a6ff2903dc4e26be4a2921914feba1d973730d1 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 07 Jan 2017 05:03:45 -0500 Subject: test/13_drhtz-drhfz.js: Add missing it()s Erm... --- 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]); + }); }); }); }); -- cgit v0.9.1