initial commit

This commit is contained in:
air66
2019-07-24 18:16:32 +01:00
commit 5efebf4ded
8591 changed files with 899103 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
"use strict";
var isImplemented = require("../../../number/is-safe-integer/is-implemented");
module.exports = function (a) {
a(isImplemented(), true);
};

View File

@@ -0,0 +1,3 @@
"use strict";
module.exports = require("./shim");

View File

@@ -0,0 +1,5 @@
"use strict";
module.exports = function (t, a) {
a(typeof t(), "boolean");
};

View File

@@ -0,0 +1,11 @@
"use strict";
module.exports = function (t, a) {
a(t(2), true, "Number");
a(t(2.34), false, "Float");
a(t(Math.pow(2, 53)), false, "Too large");
a(t(Math.pow(2, 53) - 1), true, "Maximum");
a(t("23"), false, "Not numeric");
a(t(NaN), false, "NaN");
a(t(Infinity), false, "Infinity");
};