]> git.r.bdr.sh - rbdr/dotfiles/blob
a857b4966860482625e36b69c1640acedd10ee7a
[rbdr/dotfiles] /
1 'use strict';
2
3 module.exports = function (t, a) {
4 a(t({}), NaN, "NaN");
5 a(t(-2), NaN, "Less than -1");
6 a(t(2), NaN, "Greater than 1");
7 a(t(-1), -Infinity, "-1");
8 a(t(1), Infinity, "1");
9 a(t(0), 0, "Zero");
10 a(t(0.5), 0.5493061443340549, "Ohter");
11 };