Mercurial > octave-nkf
comparison test/test_matrix.m @ 6005:b4351cfb5659
[project @ 2006-09-26 21:38:16 by jwe]
author | jwe |
---|---|
date | Tue, 26 Sep 2006 21:38:16 +0000 |
parents | 02c7e288f581 |
children | 93c65f2a5668 |
comparison
equal
deleted
inserted
replaced
6004:01556febbaaf | 6005:b4351cfb5659 |
---|---|
60 %! | 60 %! |
61 %! assert(i == [3; 2; 1] && j == [1; 2; 3] && v == [-1; 3; 2]); | 61 %! assert(i == [3; 2; 1] && j == [1; 2; 3] && v == [-1; 3; 2]); |
62 | 62 |
63 %% test/octave.test/matrix/find-3.m | 63 %% test/octave.test/matrix/find-3.m |
64 %!error <Invalid call to find.*> find (); | 64 %!error <Invalid call to find.*> find (); |
65 | |
66 %% test/octave.test/matrix/find-4.m | |
67 %!error <Invalid call to find.*> find (1, 2); | |
68 | 65 |
69 %% test/octave.test/matrix/fliplr-1.m | 66 %% test/octave.test/matrix/fliplr-1.m |
70 %!assert((fliplr ([1, 2; 3, 4]) == [2, 1; 4, 3] | 67 %!assert((fliplr ([1, 2; 3, 4]) == [2, 1; 4, 3] |
71 %! && fliplr ([1, 2; 3, 4; 5, 6]) == [2, 1; 4, 3; 6, 5] | 68 %! && fliplr ([1, 2; 3, 4; 5, 6]) == [2, 1; 4, 3; 6, 5] |
72 %! && fliplr ([1, 2, 3; 4, 5, 6]) == [3, 2, 1; 6, 5, 4])); | 69 %! && fliplr ([1, 2, 3; 4, 5, 6]) == [3, 2, 1; 6, 5, 4])); |