Mercurial > octave-nkf
diff test/io.tst @ 18519:c9ace0567f13 stable
io.tst: Remove duplicate test for fread.
* io.tst: Remove duplicate test for fread.
author | Rik <rik@octave.org> |
---|---|
date | Sat, 22 Feb 2014 12:22:34 -0800 |
parents | 0bdecd41b2dd |
children | 4cf930a64fad aa861a98d84d |
line wrap: on
line diff
--- a/test/io.tst Sat Feb 22 13:06:18 2014 -0500 +++ b/test/io.tst Sat Feb 22 12:22:34 2014 -0800 @@ -588,15 +588,6 @@ %! id = tmpfile (); %! fwrite (id, char (0:15)); %! frewind (id); -%! [data, count] = fread (id, [1, Inf], "4*uint16", 3); -%! assert (data, [256, 770, 1284, 1798, 3083, 3597]); -%! assert (count, 6); -%! fclose (id); - -%!test -%! id = tmpfile (); -%! fwrite (id, char (0:15)); -%! frewind (id); %! [data, count] = fread (id, [3, Inf], "4*uint16", 3); %! assert (data, [256, 1798; 770, 3083; 1284, 3597]); %! assert (count, 6);