]> gerrit.simantics Code Review - simantics/district.git/blob - shim.js
4ef6d4ea9b199bf303e5c595c33e312515029ba4
[simantics/district.git] / shim.js
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.337), 1.3370000123977661, "1");
9 };