-1:000000000000 | 0:48a614ec59b1 |
---|---|
1 | |
2 function TestCase(n, d, e, a) {} | |
3 function reportCompare (expected, actual, description) { | |
4 new TestCase("", description, expected, actual); | |
5 } | |
6 new TestCase( "", "", 0, Number(new Number()) ); | |
7 reportCompare(true, true); | |
8 evaluate("\ | |
9 function TestCase(n, d, e, a) {}\ | |
10 test_negation(-2147483648, 2147483648);\ | |
11 test_negation(2147483647, -2147483647);\ | |
12 function test_negation(value, expected)\ | |
13 reportCompare(expected, '', '-(' + value + ') == ' + expected);\ | |
14 "); |