comparison libinterp/corefcn/hash.cc @ 21581:6fab85c1538f

maint: Follow Octave conventions for use of semicolon in BIST tests. * testfun.txi: Document Octave conventions for use of semicolon in BIST tests. * cellfun.cc, ellipj.cc, file-io.cc, gcd.cc, hash.cc, nproc.cc, utils.cc, fftw.cc, ov-usr-fcn.cc, oct-parse.in.yy, md5sum.m, wavread.m, wavwrite.m, cplxpair.m, rat.m, im2double.m, rref.m, stem3.m, rotate.m, pchip.m, blackman.m, hamming.m, hanning.m, spectral_adf.m, spectral_xdf.m, assert.m, fail.m, etime.m, build-sparse-tests.sh, classes.tst, ctor-vs-method.tst, index.tst, io.tst, struct.tst: Follow Octave conventions for use of semicolon in BIST tests.
author Rik <rik@octave.org>
date Fri, 01 Apr 2016 18:16:01 -0700
parents a4faec57f4c8
children aba2e6293dd8
comparison
equal deleted inserted replaced
21580:ecce63c99c3f 21581:6fab85c1538f
285 %! fclose (fid); 285 %! fclose (fid);
286 %! assert (hash ("md5", fileread (tfile)), "147a664a2ca9410911e61986d3f0d52a"); 286 %! assert (hash ("md5", fileread (tfile)), "147a664a2ca9410911e61986d3f0d52a");
287 %! unlink (tfile); 287 %! unlink (tfile);
288 288
289 ## Test bad function calls 289 ## Test bad function calls
290 %!error hash (); 290 %!error hash ()
291 %!error hash (""); 291 %!error hash ("")
292 %!error hash ("", ""); 292 %!error hash ("", "")
293 %!error hash ("", "", ""); 293 %!error hash ("", "", "")
294 %!error hash (1, ""); 294 %!error hash (1, "")
295 %!error hash ([1, 0; 0, 1], ""); 295 %!error hash ([1, 0; 0, 1], "")
296 %!error hash ("unknown", ""); 296 %!error hash ("unknown", "")
297 %!error hash ("md5"); 297 %!error hash ("md5")
298 %!error hash ("sha1"); 298 %!error hash ("sha1")
299 %!error hash ("sha512"); 299 %!error hash ("sha512")
300 */ 300 */