]> gerrit.simantics Code Review - simantics/district.git/blob - shim.js
a2ca7fe78321ce69b3ebab3ad6131496f180d42f
[simantics/district.git] / shim.js
1 'use strict';
2
3 module.exports = function (t, a) {
4         a(t(), 0, "No arguments");
5         a(t(0, 0), 0, "Zeros");
6         a(t(2, 4), 8, "#1");
7         a(t(-1, 8), -8, "#2");
8         a(t(0xfffffffe, 5), -10, "#3");
9 };