Sha256: cafc8c3cf7fb075e98fc75127d4eb72944d630306b60f98f3ab1b396297f8b07
Contents?: true
Size: 268 Bytes
Versions: 46
Compression:
Stored size: 268 Bytes
Contents
"use strict"; module.exports = function (t, a) { a(t(12), 12, "Number in range"); a(t(12.23), 12, "Rounds number in range"); a(t(-12.63), -12, "Rounds negative number in range"); a.throws( function () { t(NaN); }, TypeError, "Throws on invalid" ); };
Version data entries
46 entries across 46 versions & 3 rubygems