# HG changeset patch # User Andreas Weber # Date 1379151759 -7200 # Node ID f81401b6b1f77acbbafd2252eaa6486bdd20d273 # Parent 0bcbbd82c9b5d3e974bb46720cb8e872788d869c parser.tst: known bug #33304 as xtest diff -r 0bcbbd82c9b5 -r f81401b6b1f7 test/parser.tst --- a/test/parser.tst Fri Sep 13 15:41:42 2013 +0200 +++ b/test/parser.tst Sat Sep 14 11:42:39 2013 +0200 @@ -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);