Opal-Estate-Pro/node_modules/es5-ext/test/math/imul/shim.js
2019-09-13 11:27:52 +07:00

10 lines
185 B
JavaScript

"use strict";
module.exports = function (t, a) {
a(t(), 0, "No arguments");
a(t(0, 0), 0, "Zeros");
a(t(2, 4), 8, "#1");
a(t(-1, 8), -8, "#2");
a(t(0xfffffffe, 5), -10, "#3");
};