blob: d50b28abda831cca57b28d7c6fd7be58f6f96601 [file] [log] [blame]
function TestCase(n, d, e, a) {}
function reportCompare (expected, actual, description) {
new TestCase("", description, expected, actual);
}
new TestCase( "", "", 0, Number(new Number()) );
reportCompare(true, true);
evaluate("\
function TestCase(n, d, e, a) {}\
test_negation(-2147483648, 2147483648);\
test_negation(2147483647, -2147483647);\
function test_negation(value, expected)\
reportCompare(expected, '', '-(' + value + ') == ' + expected);\
");