]> git.r.bdr.sh - rbdr/dotfiles/blob
4f63b59e735bf0141fce6db07bc01b46bf0ef7fd
[rbdr/dotfiles] /
1 'use strict';
2
3 module.exports = function (t, a) {
4 a(t({}), NaN, "NaN");
5 a(t(0), 0, "Zero");
6 a(t(Infinity), Infinity, "Infinity");
7 a(t(-Infinity), -Infinity, "-Infinity");
8 a(t(1), 1.1752011936438014, "1");
9 a(t(Number.MAX_VALUE), Infinity);
10 a(t(-Number.MAX_VALUE), -Infinity);
11 a(t(Number.MIN_VALUE), 5e-324);
12 a(t(-Number.MIN_VALUE), -5e-324);
13 };