Opal-Estate-Pro/node_modules/es5-ext/test/math/imul/shim.js

10 lines
185 B
JavaScript
Raw Normal View History

2019-09-13 04:44:33 +02:00
"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");
};