This commit is contained in:
Simon Priet
2021-09-05 22:53:58 +02:00
commit 9e2991e668
17888 changed files with 1263126 additions and 0 deletions

5
node_modules/es5-ext/test/math/hypot/implement.js generated vendored Normal file
View File

@@ -0,0 +1,5 @@
"use strict";
var isImplemented = require("../../../math/hypot/is-implemented");
module.exports = function (a) { a(isImplemented(), true); };

3
node_modules/es5-ext/test/math/hypot/index.js generated vendored Normal file
View File

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

View File

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

11
node_modules/es5-ext/test/math/hypot/shim.js generated vendored Normal file
View File

@@ -0,0 +1,11 @@
"use strict";
module.exports = function (t, a) {
a(t(), 0, "No arguments");
a(t(0, -0, 0), 0, "Zeros");
a(t(4, NaN, Infinity), Infinity, "Infinity");
a(t(4, NaN, -Infinity), Infinity, "Infinity");
a(t(4, NaN, 34), NaN, "NaN");
a(t(3, 4), 5, "#1");
a(t(3, 4, 5), 7.0710678118654755, "#2");
};