Mercurial > hg > octave-lyh
changeset 17427:f81401b6b1f7
parser.tst: known bug #33304 as xtest
author | Andreas Weber <andy.weber.aw@gmail.com> |
---|---|
date | Sat, 14 Sep 2013 11:42:39 +0200 |
parents | 0bcbbd82c9b5 |
children | 577a19afdaf5 |
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,22 +195,22 @@ %! 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); + +## 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); -## Note: Exponentiation should be left-to-right, but Octave does right-to-left. -## See bug #33304. - ## Level 10 (unary plus/minus, prefix increment/decrement, not) %!test %! assert (+-+1, -1);