| // If all goes well, this test module will terminate silently. If not, it will print |
| // errors. See binary-op-test.js for debugging options if needed. |
| load("./resources/binary-op-test.js"); |
| //============================================================================ |
| // Test configuration data: |
| valueOf: function() { return 10; } |
| var negInfinity = -1 / 0; |
| '100.2', // Some random small double value. |
| '2147483647.5', // Value that will get truncated down to 0x7fffffff. |
| '54294967296.2923', // Some random large double value. |
| generateBinaryTests(tests, opName, op, "VarVar", values, values); |
| generateBinaryTests(tests, opName, op, "VarConst", values, values); |
| generateBinaryTests(tests, opName, op, "ConstVar", values, values); |