]> git.r.bdr.sh - rbdr/dotfiles/blob - atom/packages/vim-mode/node_modules/grim/node_modules/emissary/node_modules/es6-weak-map/node_modules/es5-ext/test/math/hypot/shim.js
91d950a5d3289921573cf4d298fb9a0b73a5aeec
[rbdr/dotfiles] / atom / packages / vim-mode / node_modules / grim / node_modules / emissary / node_modules / es6-weak-map / node_modules / es5-ext / test / math / hypot / shim.js
1 'use strict';
2
3 module.exports = function (t, a) {
4 a(t(), 0, "No arguments");
5 a(t(0, -0, 0), 0, "Zeros");
6 a(t(4, NaN, Infinity), Infinity, "Infinity");
7 a(t(4, NaN, -Infinity), Infinity, "Infinity");
8 a(t(4, NaN, 34), NaN, "NaN");
9 a(t(3, 4), 5, "#1");
10 a(t(3, 4, 5), 7.0710678118654755, "#2");
11 };