Index: test/mjsunit/negate.js |
=================================================================== |
--- test/mjsunit/negate.js (revision 1707) |
+++ test/mjsunit/negate.js (working copy) |
@@ -30,9 +30,9 @@ |
function testmulneg(a, b) { |
var base = a * b; |
- assertEquals(-base, a * -b); |
- assertEquals(-base, -a * b); |
- assertEquals(base, -a * -b); |
+ assertEquals(-base, a * -b, "a * -b where a = " + a + ", b = " + b); |
+ assertEquals(-base, -a * b, "-a * b where a = " + a + ", b = " + b); |
+ assertEquals(base, -a * -b, "*-a * -b where a = " + a + ", b = " + b); |
} |
testmulneg(2, 3); |