Mercurial > hg > octave-lyh
changeset 17428:577a19afdaf5
maint: Backed out changeset f81401b6b1f7.
* test/parser.tst: bug #33304 should remain an error until it is fixed.
author | Rik <rik@octave.org> |
---|---|
date | Sat, 14 Sep 2013 17:07:05 -0700 |
parents | f81401b6b1f7 |
children | 096280194ca3 7ad3b9ca66f5 |
files | test/parser.tst |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/test/parser.tst +++ b/test/parser.tst @@ -195,21 +195,21 @@ %! assert ([2 3].^2', [4; 9]); ## Level 12 (postfix increment and decrement) ## No tests possible since a++-- is not valid - ## Level 11 (transpose and exponentiation) +## Note: Exponentiation should be left-to-right, but Octave does right-to-left. +## See bug #33304. %!test %! assert (2^3**2, 64); %! assert ([2 3].^2.', [4;9]); %! assert ([2 3].'.^2, [4;9]); %! assert (3*4i'.', 0 - 12i); %! assert (3*4i.'.', 0 + 12i); +%! assert (2^-4^3, (1/16)^3); +%! assert (2^+4^3, 16^3); +%! assert (2^~0^2, 4); ## Note: Exponentiation should be left-to-right, but Octave does right-to-left. ## See bug #33304. -%!xtest -%! assert (2^-4^3, (1/16)^3); -%! assert (2^+4^3, 16^3); -%! assert (2^~0^2, 4); ## Level 10 (unary plus/minus, prefix increment/decrement, not) %!test