Mercurial > octave
changeset 17338:1c89599167a6
maint: End m-files with 1 blank line.
Simplifies automated grammarchecking script.
* scripts/@ftp/ascii.m, scripts/@ftp/binary.m, scripts/@ftp/cd.m,
scripts/@ftp/close.m, scripts/@ftp/delete.m, scripts/@ftp/dir.m,
scripts/@ftp/display.m, scripts/@ftp/ftp.m, scripts/@ftp/loadobj.m,
scripts/@ftp/mget.m, scripts/@ftp/mkdir.m, scripts/@ftp/mput.m,
scripts/@ftp/rename.m, scripts/@ftp/rmdir.m, scripts/@ftp/saveobj.m,
scripts/audio/lin2mu.m, scripts/audio/loadaudio.m, scripts/audio/mu2lin.m,
scripts/audio/record.m, scripts/audio/saveaudio.m, scripts/audio/setaudio.m,
scripts/deprecated/__error_text__.m, scripts/deprecated/cut.m,
scripts/deprecated/error_text.m, scripts/deprecated/isstr.m,
scripts/deprecated/polyderiv.m, scripts/deprecated/studentize.m,
scripts/deprecated/sylvester_matrix.m, scripts/general/bicubic.m,
scripts/general/celldisp.m, scripts/general/colon.m,
scripts/general/cplxpair.m, scripts/general/del2.m, scripts/general/display.m,
scripts/general/isdir.m, scripts/general/isequaln.m, scripts/general/loadobj.m,
scripts/general/private/__isequal__.m, scripts/general/private/__splinen__.m,
scripts/general/profexplore.m, scripts/general/quadgk.m,
scripts/general/randi.m, scripts/general/repmat.m, scripts/general/saveobj.m,
scripts/geometry/delaunay.m, scripts/help/__unimplemented__.m,
scripts/help/doc_cache_create.m, scripts/help/get_first_help_sentence.m,
scripts/help/help.m, scripts/help/print_usage.m,
scripts/help/private/__additional_help_message__.m,
scripts/help/private/__strip_html_tags__.m, scripts/help/type.m,
scripts/image/imfinfo.m, scripts/image/imformats.m, scripts/image/imread.m,
scripts/image/imwrite.m, scripts/image/private/__imfinfo__.m,
scripts/image/private/__imread__.m, scripts/image/private/__imwrite__.m,
scripts/image/private/imageIO.m, scripts/image/private/imwrite_filename.m,
scripts/image/private/ind2x.m, scripts/io/beep.m, scripts/io/strread.m,
scripts/io/textread.m, scripts/io/textscan.m, scripts/linear-algebra/krylov.m,
scripts/linear-algebra/subspace.m, scripts/miscellaneous/bug_report.m,
scripts/miscellaneous/bunzip2.m, scripts/miscellaneous/cast.m,
scripts/miscellaneous/copyfile.m, scripts/miscellaneous/debug.m,
scripts/miscellaneous/dir.m, scripts/miscellaneous/dump_prefs.m,
scripts/miscellaneous/error_ids.m, scripts/miscellaneous/fileattrib.m,
scripts/miscellaneous/gunzip.m, scripts/miscellaneous/isdeployed.m,
scripts/miscellaneous/ismac.m, scripts/miscellaneous/mex.m,
scripts/miscellaneous/mexext.m, scripts/miscellaneous/mkoctfile.m,
scripts/miscellaneous/movefile.m, scripts/miscellaneous/namelengthmax.m,
scripts/miscellaneous/news.m, scripts/miscellaneous/pack.m,
scripts/miscellaneous/perl.m,
scripts/miscellaneous/private/display_info_file.m,
scripts/miscellaneous/python.m, scripts/miscellaneous/rmappdata.m,
scripts/miscellaneous/run.m, scripts/miscellaneous/tar.m,
scripts/miscellaneous/tempname.m, scripts/miscellaneous/untar.m,
scripts/miscellaneous/unzip.m, scripts/miscellaneous/what.m,
scripts/miscellaneous/zip.m, scripts/optimization/fminunc.m,
scripts/optimization/fsolve.m, scripts/optimization/fzero.m,
scripts/optimization/glpk.m, scripts/optimization/optimget.m,
scripts/optimization/optimset.m, scripts/optimization/qp.m,
scripts/optimization/sqp.m, scripts/path/pathdef.m, scripts/pkg/pkg.m,
scripts/pkg/private/build.m, scripts/pkg/private/describe.m,
scripts/pkg/private/dirempty.m, scripts/pkg/private/get_forge_download.m,
scripts/pkg/private/get_forge_pkg.m,
scripts/pkg/private/get_unsatisfied_deps.m, scripts/pkg/private/install.m,
scripts/pkg/private/is_architecture_dependent.m,
scripts/pkg/private/list_forge_packages.m, scripts/pkg/private/rebuild.m,
scripts/pkg/private/shell.m, scripts/pkg/private/uninstall.m,
scripts/plot/axes.m, scripts/plot/box.m, scripts/plot/closereq.m,
scripts/plot/diffuse.m, scripts/plot/ezpolar.m, scripts/plot/findfigs.m,
scripts/plot/gco.m, scripts/plot/guidata.m, scripts/plot/guihandles.m,
scripts/plot/hdl2struct.m, scripts/plot/linkprop.m, scripts/plot/peaks.m,
scripts/plot/print.m, scripts/plot/private/__add_datasource__.m,
scripts/plot/private/__axis_label__.m, scripts/plot/private/__clabel__.m,
scripts/plot/private/__color_str_rgb__.m, scripts/plot/private/__contour__.m,
scripts/plot/private/__default_plot_options__.m,
scripts/plot/private/__errcomm__.m, scripts/plot/private/__file_filter__.m,
scripts/plot/private/__fltk_file_filter__.m,
scripts/plot/private/__getlegenddata__.m,
scripts/plot/private/__gnuplot_open_stream__.m,
scripts/plot/private/__gnuplot_print__.m,
scripts/plot/private/__go_draw_axes__.m,
scripts/plot/private/__interp_cube__.m, scripts/plot/private/__is_function__.m,
scripts/plot/private/__line__.m, scripts/plot/private/__marching_cube__.m,
scripts/plot/private/__next_line_style__.m, scripts/plot/private/__patch__.m,
scripts/plot/private/__pie__.m, scripts/plot/private/__pltopt__.m,
scripts/plot/private/__quiver__.m, scripts/plot/private/__scatter__.m,
scripts/plot/private/__stem__.m, scripts/plot/private/__uigetdir_fltk__.m,
scripts/plot/private/__uigetfile_fltk__.m,
scripts/plot/private/__uiobject_split_args__.m,
scripts/plot/private/__uiputfile_fltk__.m, scripts/plot/refresh.m,
scripts/plot/saveas.m, scripts/plot/shg.m, scripts/plot/specular.m,
scripts/plot/sphere.m, scripts/plot/struct2hdl.m, scripts/plot/subplot.m,
scripts/plot/uicontextmenu.m, scripts/plot/uicontrol.m, scripts/plot/uipanel.m,
scripts/plot/uipushtool.m, scripts/plot/uiresume.m,
scripts/plot/uitoggletool.m, scripts/plot/uitoolbar.m, scripts/plot/uiwait.m,
scripts/plot/waitforbuttonpress.m, scripts/polynomial/pchip.m,
scripts/polynomial/polyeig.m, scripts/polynomial/ppval.m,
scripts/prefs/addpref.m, scripts/prefs/getpref.m, scripts/prefs/ispref.m,
scripts/prefs/private/loadprefs.m, scripts/prefs/private/prefsfile.m,
scripts/prefs/private/saveprefs.m, scripts/prefs/setpref.m,
scripts/set/private/validargs.m, scripts/set/unique.m,
scripts/signal/arch_fit.m, scripts/signal/arch_rnd.m,
scripts/signal/arch_test.m, scripts/signal/arma_rnd.m,
scripts/signal/durbinlevinson.m, scripts/signal/fractdiff.m,
scripts/signal/freqz.m, scripts/signal/freqz_plot.m, scripts/signal/hurst.m,
scripts/signal/periodogram.m, scripts/signal/private/rectangle_lw.m,
scripts/signal/private/rectangle_sw.m, scripts/signal/private/triangle_sw.m,
scripts/signal/spectral_adf.m, scripts/signal/spectral_xdf.m,
scripts/signal/stft.m, scripts/signal/synthesis.m, scripts/signal/yulewalker.m,
scripts/sparse/colperm.m, scripts/sparse/eigs.m, scripts/sparse/etreeplot.m,
scripts/sparse/gmres.m, scripts/sparse/private/__sprand_impl__.m,
scripts/sparse/spdiags.m, scripts/sparse/sprandn.m, scripts/specfun/bessel.m,
scripts/specfun/betaln.m, scripts/specfun/expint.m,
scripts/special-matrix/gallery.m, scripts/startup/__finish__.m,
scripts/statistics/base/qqplot.m, scripts/statistics/distributions/tcdf.m,
scripts/statistics/distributions/wienrnd.m,
scripts/statistics/models/logistic_regression.m,
scripts/statistics/models/private/logistic_regression_derivatives.m,
scripts/statistics/models/private/logistic_regression_likelihood.m,
scripts/statistics/tests/anova.m, scripts/statistics/tests/bartlett_test.m,
scripts/statistics/tests/chisquare_test_homogeneity.m,
scripts/statistics/tests/chisquare_test_independence.m,
scripts/statistics/tests/cor_test.m,
scripts/statistics/tests/f_test_regression.m,
scripts/statistics/tests/hotelling_test.m,
scripts/statistics/tests/hotelling_test_2.m,
scripts/statistics/tests/kolmogorov_smirnov_test_2.m,
scripts/statistics/tests/kruskal_wallis_test.m,
scripts/statistics/tests/manova.m, scripts/statistics/tests/mcnemar_test.m,
scripts/statistics/tests/prop_test_2.m, scripts/statistics/tests/run_test.m,
scripts/statistics/tests/sign_test.m, scripts/statistics/tests/t_test.m,
scripts/statistics/tests/t_test_2.m,
scripts/statistics/tests/t_test_regression.m,
scripts/statistics/tests/u_test.m, scripts/statistics/tests/var_test.m,
scripts/statistics/tests/welch_test.m,
scripts/statistics/tests/wilcoxon_test.m, scripts/statistics/tests/z_test.m,
scripts/statistics/tests/z_test_2.m, scripts/strings/strcat.m,
scripts/strings/strjoin.m, scripts/strings/strsplit.m,
scripts/testfun/__have_feature__.m, scripts/testfun/__printf_assert__.m,
scripts/testfun/__prog_output_assert__.m, scripts/testfun/__run_test_suite__.m,
scripts/time/clock.m, scripts/time/datenum.m, scripts/ui/errordlg.m,
scripts/ui/private/message_dialog.m: End m-files with 1 blank line.
line wrap: on
line diff
--- a/scripts/@ftp/ascii.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/@ftp/ascii.m Wed Aug 28 08:33:02 2013 -0700 @@ -29,3 +29,4 @@ function ascii (f) __ftp_ascii__ (f.curlhandle); endfunction +
--- a/scripts/@ftp/binary.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/@ftp/binary.m Wed Aug 28 08:33:02 2013 -0700 @@ -28,3 +28,4 @@ function binary (f) __ftp_binary__ (f.curlhandle); endfunction +
--- a/scripts/@ftp/cd.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/@ftp/cd.m Wed Aug 28 08:33:02 2013 -0700 @@ -41,3 +41,4 @@ endif path = __ftp_pwd__ (f.curlhandle); endfunction +
--- a/scripts/@ftp/close.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/@ftp/close.m Wed Aug 28 08:33:02 2013 -0700 @@ -26,3 +26,4 @@ function dir (f) __ftp_close__ (f.curlhandle); endfunction +
--- a/scripts/@ftp/delete.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/@ftp/delete.m Wed Aug 28 08:33:02 2013 -0700 @@ -26,3 +26,4 @@ function delete (f, file) __ftp_delete__ (f.curlhandle, file); endfunction +
--- a/scripts/@ftp/dir.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/@ftp/dir.m Wed Aug 28 08:33:02 2013 -0700 @@ -31,3 +31,4 @@ lst = __ftp_dir__ (f.curlhandle); endif endfunction +
--- a/scripts/@ftp/display.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/@ftp/display.m Wed Aug 28 08:33:02 2013 -0700 @@ -22,4 +22,5 @@ printf (" user: %s\n", obj.username); printf (" dir: %s\n", __ftp_pwd__ (obj.curlhandle)); printf (" mode: %s\n", __ftp_mode__ (obj.curlhandle)); -endfunction \ No newline at end of file +endfunction +
--- a/scripts/@ftp/ftp.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/@ftp/ftp.m Wed Aug 28 08:33:02 2013 -0700 @@ -58,3 +58,4 @@ obj = class (p, "ftp"); endif endfunction +
--- a/scripts/@ftp/loadobj.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/@ftp/loadobj.m Wed Aug 28 08:33:02 2013 -0700 @@ -34,3 +34,4 @@ b = rmfield (b, "remotePwd"); endif endfunction +
--- a/scripts/@ftp/mget.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/@ftp/mget.m Wed Aug 28 08:33:02 2013 -0700 @@ -35,3 +35,4 @@ function mget (f, file) __ftp_mget__ (f.curlhandle, file); endfunction +
--- a/scripts/@ftp/mkdir.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/@ftp/mkdir.m Wed Aug 28 08:33:02 2013 -0700 @@ -26,3 +26,4 @@ function mkdir (f, path) __ftp_mkdir__ (f.curlhandle, path); endfunction +
--- a/scripts/@ftp/mput.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/@ftp/mput.m Wed Aug 28 08:33:02 2013 -0700 @@ -33,3 +33,4 @@ retval = __ftp_mput__ (f.curlhandle, file); endif endfunction +
--- a/scripts/@ftp/rename.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/@ftp/rename.m Wed Aug 28 08:33:02 2013 -0700 @@ -27,3 +27,4 @@ function rename (f, oldname, newname) __ftp_rename__ (f.curlhandle, oldname, newname); endfunction +
--- a/scripts/@ftp/rmdir.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/@ftp/rmdir.m Wed Aug 28 08:33:02 2013 -0700 @@ -26,3 +26,4 @@ function rmdir (f, path) __ftp_rmdir__ (f.curlhandle, path); endfunction +
--- a/scripts/@ftp/saveobj.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/@ftp/saveobj.m Wed Aug 28 08:33:02 2013 -0700 @@ -21,3 +21,4 @@ b = rmfield (b, "curlhandle"); b.dir = __ftp_pwd (a.curlhandle); endfunction +
--- a/scripts/audio/lin2mu.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/audio/lin2mu.m Wed Aug 28 08:33:02 2013 -0700 @@ -74,3 +74,4 @@ y = 64 * sig - 16 * e - fix (32 * f) + 335; endfunction +
--- a/scripts/audio/loadaudio.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/audio/loadaudio.m Wed Aug 28 08:33:02 2013 -0700 @@ -79,3 +79,4 @@ fclose (num); endfunction +
--- a/scripts/audio/mu2lin.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/audio/mu2lin.m Wed Aug 28 08:33:02 2013 -0700 @@ -80,3 +80,4 @@ endif endfunction +
--- a/scripts/audio/record.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/audio/record.m Wed Aug 28 08:33:02 2013 -0700 @@ -63,3 +63,4 @@ X = Y - 127; endfunction +
--- a/scripts/audio/saveaudio.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/audio/saveaudio.m Wed Aug 28 08:33:02 2013 -0700 @@ -86,3 +86,4 @@ fclose (num); endfunction +
--- a/scripts/audio/setaudio.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/audio/setaudio.m Wed Aug 28 08:33:02 2013 -0700 @@ -41,3 +41,4 @@ endif endfunction +
--- a/scripts/deprecated/__error_text__.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/deprecated/__error_text__.m Wed Aug 28 08:33:02 2013 -0700 @@ -34,3 +34,4 @@ [msg, msgid] = lasterr (varargin{:}); endfunction +
--- a/scripts/deprecated/cut.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/deprecated/cut.m Wed Aug 28 08:33:02 2013 -0700 @@ -69,3 +69,4 @@ endif endfunction +
--- a/scripts/deprecated/error_text.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/deprecated/error_text.m Wed Aug 28 08:33:02 2013 -0700 @@ -34,3 +34,4 @@ [msg, msgid] = lasterr (varargin{:}); endfunction +
--- a/scripts/deprecated/isstr.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/deprecated/isstr.m Wed Aug 28 08:33:02 2013 -0700 @@ -38,3 +38,4 @@ retval = ischar (varargin{:}); endfunction +
--- a/scripts/deprecated/polyderiv.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/deprecated/polyderiv.m Wed Aug 28 08:33:02 2013 -0700 @@ -98,6 +98,7 @@ endfunction + %!assert(all (all (polyderiv ([1, 2, 3]) == [2, 2]))); %!assert(polyderiv (13) == 0);
--- a/scripts/deprecated/studentize.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/deprecated/studentize.m Wed Aug 28 08:33:02 2013 -0700 @@ -78,6 +78,7 @@ endfunction + %!assert(studentize ([1,2,3]), [-1,0,1]) %!assert(studentize (int8 ([1,2,3])), [-1,0,1]) #%!assert(studentize (ones (3,2,0,2)), zeros (3,2,0,2))
--- a/scripts/deprecated/sylvester_matrix.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/deprecated/sylvester_matrix.m Wed Aug 28 08:33:02 2013 -0700 @@ -57,6 +57,7 @@ endfunction + %!assert((sylvester_matrix (1) == [1, 1; 1, -1] %! && (sylvester_matrix (2) %! == [1, 1, 1, 1; 1, -1, 1, -1; 1, 1, -1, -1; 1, -1, -1, 1])));
--- a/scripts/general/bicubic.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/general/bicubic.m Wed Aug 28 08:33:02 2013 -0700 @@ -221,6 +221,7 @@ endfunction + %!demo %! clf; %! colormap ("default");
--- a/scripts/general/celldisp.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/general/celldisp.m Wed Aug 28 08:33:02 2013 -0700 @@ -89,3 +89,4 @@ %!error celldisp () %!error celldisp ({}, "name", 1) %!error <C must be a cell array> celldisp (1) +
--- a/scripts/general/colon.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/general/colon.m Wed Aug 28 08:33:02 2013 -0700 @@ -43,3 +43,4 @@ %!error colon (1) ## FIXME -- what does colon () mean since it doesn't set a return value? +
--- a/scripts/general/cplxpair.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/general/cplxpair.m Wed Aug 28 08:33:02 2013 -0700 @@ -163,4 +163,4 @@ ## tolerance test %!assert (cplxpair ([1i, -1i, 1+(1i*eps)],2*eps), [-1i, 1i, 1+(1i*eps)]) - +
--- a/scripts/general/del2.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/general/del2.m Wed Aug 28 08:33:02 2013 -0700 @@ -157,3 +157,4 @@ D = D ./ nd; endfunction +
--- a/scripts/general/display.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/general/display.m Wed Aug 28 08:33:02 2013 -0700 @@ -48,3 +48,4 @@ endif endfunction +
--- a/scripts/general/isdir.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/general/isdir.m Wed Aug 28 08:33:02 2013 -0700 @@ -32,6 +32,7 @@ endfunction + %!assert (isdir (pwd ())) %!assert (! isdir ("this is highly unlikely to be a directory name"))
--- a/scripts/general/isequaln.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/general/isequaln.m Wed Aug 28 08:33:02 2013 -0700 @@ -48,3 +48,4 @@ ## Input validation %!error isequaln () %!error isequaln (1) +
--- a/scripts/general/loadobj.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/general/loadobj.m Wed Aug 28 08:33:02 2013 -0700 @@ -39,3 +39,4 @@ function b = loadobj (a) error ('loadobj: not defined for class "%s"', class (a)); endfunction +
--- a/scripts/general/private/__isequal__.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/general/private/__isequal__.m Wed Aug 28 08:33:02 2013 -0700 @@ -182,3 +182,4 @@ endif endfunction +
--- a/scripts/general/private/__splinen__.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/general/private/__splinen__.m Wed Aug 28 08:33:02 2013 -0700 @@ -44,3 +44,4 @@ endfor yi(idx) = extrapval; endfunction +
--- a/scripts/general/profexplore.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/general/profexplore.m Wed Aug 28 08:33:02 2013 -0700 @@ -135,3 +135,4 @@ endwhile endfunction +
--- a/scripts/general/quadgk.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/general/quadgk.m Wed Aug 28 08:33:02 2013 -0700 @@ -457,3 +457,4 @@ %!error (quadgk (@sin)) %!error (quadgk (@sin, -pi)) %!error (quadgk (@sin, -pi, pi, "DummyArg")) +
--- a/scripts/general/randi.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/general/randi.m Wed Aug 28 08:33:02 2013 -0700 @@ -111,6 +111,7 @@ endfunction + %!test %! ri = randi (10, 1000, 1); %! assert (ri, fix (ri));
--- a/scripts/general/repmat.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/general/repmat.m Wed Aug 28 08:33:02 2013 -0700 @@ -125,6 +125,7 @@ endfunction + # Tests for ML compatibility %!shared x %! x = [1 2 3];
--- a/scripts/general/saveobj.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/general/saveobj.m Wed Aug 28 08:33:02 2013 -0700 @@ -42,3 +42,4 @@ function b = saveobj (a) error ('saveobj: not defined for class "%s"', class (a)); endfunction +
--- a/scripts/geometry/delaunay.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/geometry/delaunay.m Wed Aug 28 08:33:02 2013 -0700 @@ -166,3 +166,4 @@ %! assert (sortrows (sort (delaunay (x, y), 2)), [1,2,4;1,3,4;1,3,5;3,4,6]); %% FIXME: Need input validation tests +
--- a/scripts/help/__unimplemented__.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/help/__unimplemented__.m Wed Aug 28 08:33:02 2013 -0700 @@ -442,3 +442,4 @@ %! assert (str(1:51), "quad2d is not implemented. Consider using dblquad."); %! str = __unimplemented__ ("MException"); %! assert (str(1:58), "the 'MException' function is not yet implemented in Octave"); +
--- a/scripts/help/doc_cache_create.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/help/doc_cache_create.m Wed Aug 28 08:33:02 2013 -0700 @@ -157,3 +157,4 @@ %% No true tests desirable for this function. %% Test input validation %!error doc_cache_create (1) +
--- a/scripts/help/get_first_help_sentence.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/help/get_first_help_sentence.m Wed Aug 28 08:33:02 2013 -0700 @@ -157,7 +157,8 @@ endfunction -%!assert (get_first_help_sentence ('get_first_help_sentence'), "Return the first sentence of a function's help text.") +%!assert (get_first_help_sentence ('get_first_help_sentence'), ... +%! "Return the first sentence of a function's help text.") %% Test input validation %!error get_first_help_sentence ()
--- a/scripts/help/help.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/help/help.m Wed Aug 28 08:33:02 2013 -0700 @@ -209,4 +209,3 @@ %!assert (! isempty (strfind (help ("ls"), "List directory contents"))) %!error <invalid input> help (42) -
--- a/scripts/help/print_usage.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/help/print_usage.m Wed Aug 28 08:33:02 2013 -0700 @@ -139,3 +139,4 @@ ## Stop reporting function as missing tests. No good tests possible. %!assert (1) +
--- a/scripts/help/private/__additional_help_message__.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/help/private/__additional_help_message__.m Wed Aug 28 08:33:02 2013 -0700 @@ -37,3 +37,4 @@ endif endfunction +
--- a/scripts/help/private/__strip_html_tags__.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/help/private/__strip_html_tags__.m Wed Aug 28 08:33:02 2013 -0700 @@ -79,3 +79,4 @@ ## Actually remove the elements text = text (keep); endfunction +
--- a/scripts/help/type.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/help/type.m Wed Aug 28 08:33:02 2013 -0700 @@ -124,3 +124,4 @@ %!assert (type ("end"){1}, "end is a keyword") %!error (type ('NO_NAME')) +
--- a/scripts/image/imfinfo.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/image/imfinfo.m Wed Aug 28 08:33:02 2013 -0700 @@ -122,3 +122,4 @@ endif info = imageIO (@__imfinfo__, "info", varargin, varargin{:}); endfunction +
--- a/scripts/image/imformats.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/image/imformats.m Wed Aug 28 08:33:02 2013 -0700 @@ -282,6 +282,7 @@ end_try_catch endfunction + ## changing the function to read %!testif HAVE_MAGICK %! fmt = imformats ("jpg");
--- a/scripts/image/imread.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/image/imread.m Wed Aug 28 08:33:02 2013 -0700 @@ -102,6 +102,7 @@ [varargout{1:nargout}] = imageIO (@__imread__, "read", filename, varargin{:}); endfunction + %!testif HAVE_MAGICK %! vpng = [ ... %! 137, 80, 78, 71, 13, 10, 26, 10, 0, 0, ...
--- a/scripts/image/imwrite.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/image/imwrite.m Wed Aug 28 08:33:02 2013 -0700 @@ -92,6 +92,7 @@ endfunction + %% Test input validation %!error imwrite () # Wrong # of args %!error imwrite (1) # Wrong # of args @@ -113,3 +114,4 @@ %! unlink (filename); %! end_unwind_protect %! assert (imw, imr) +
--- a/scripts/image/private/__imfinfo__.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/image/private/__imfinfo__.m Wed Aug 28 08:33:02 2013 -0700 @@ -69,3 +69,4 @@ end_unwind_protect endfunction +
--- a/scripts/image/private/__imread__.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/image/private/__imread__.m Wed Aug 28 08:33:02 2013 -0700 @@ -204,3 +204,4 @@ bool = true; endif endfunction +
--- a/scripts/image/private/__imwrite__.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/image/private/__imwrite__.m Wed Aug 28 08:33:02 2013 -0700 @@ -116,3 +116,4 @@ __magick_write__ (filename, ext, img, map, options); endfunction +
--- a/scripts/image/private/imageIO.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/image/private/imageIO.m Wed Aug 28 08:33:02 2013 -0700 @@ -66,3 +66,4 @@ [varargout{1:nargout}] = fmt.(fieldname) (varargin{:}); endif endfunction +
--- a/scripts/image/private/imwrite_filename.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/image/private/imwrite_filename.m Wed Aug 28 08:33:02 2013 -0700 @@ -66,3 +66,4 @@ options = varargin(options_idx:end); endfunction +
--- a/scripts/image/private/ind2x.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/image/private/ind2x.m Wed Aug 28 08:33:02 2013 -0700 @@ -57,3 +57,4 @@ endif endfunction +
--- a/scripts/io/beep.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/io/beep.m Wed Aug 28 08:33:02 2013 -0700 @@ -36,3 +36,4 @@ %!error (beep (1)) +
--- a/scripts/io/strread.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/io/strread.m Wed Aug 28 08:33:02 2013 -0700 @@ -994,3 +994,4 @@ %% Illegal format specifiers %!test %!error <unknown format specifier> strread ("1.0", "%z") +
--- a/scripts/io/textread.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/io/textread.m Wed Aug 28 08:33:02 2013 -0700 @@ -219,6 +219,7 @@ endfunction + %!test %! f = tmpnam (); %! d = rand (5, 3); @@ -315,3 +316,4 @@ %!error <missing or illegal value for> textread (file_in_loadpath ("textread.m"), "", "headerlines") %!error <missing or illegal value for> textread (file_in_loadpath ("textread.m"), "", "headerlines", 'hh') %!error <character value required for> textread (file_in_loadpath ("textread.m"), "%s", "endofline", true) +
--- a/scripts/io/textscan.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/io/textscan.m Wed Aug 28 08:33:02 2013 -0700 @@ -660,3 +660,4 @@ %! fclose (fid); %! unlink (f); %! assert (msg1, lasterr); +
--- a/scripts/linear-algebra/krylov.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/linear-algebra/krylov.m Wed Aug 28 08:33:02 2013 -0700 @@ -244,3 +244,4 @@ b1 = a; endfunction +
--- a/scripts/linear-algebra/subspace.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/linear-algebra/subspace.m Wed Aug 28 08:33:02 2013 -0700 @@ -59,3 +59,4 @@ endif endfunction +
--- a/scripts/miscellaneous/bug_report.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/miscellaneous/bug_report.m Wed Aug 28 08:33:02 2013 -0700 @@ -47,3 +47,4 @@ ## Mark file as being tested. No real test needed for this function. %!assert (1) +
--- a/scripts/miscellaneous/bunzip2.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/miscellaneous/bunzip2.m Wed Aug 28 08:33:02 2013 -0700 @@ -40,3 +40,4 @@ endif endfunction +
--- a/scripts/miscellaneous/cast.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/miscellaneous/cast.m Wed Aug 28 08:33:02 2013 -0700 @@ -43,3 +43,4 @@ endif endfunction +
--- a/scripts/miscellaneous/copyfile.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/miscellaneous/copyfile.m Wed Aug 28 08:33:02 2013 -0700 @@ -129,3 +129,4 @@ endif endfunction +
--- a/scripts/miscellaneous/debug.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/miscellaneous/debug.m Wed Aug 28 08:33:02 2013 -0700 @@ -91,3 +91,4 @@ function debug () help ("debug"); endfunction +
--- a/scripts/miscellaneous/dir.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/miscellaneous/dir.m Wed Aug 28 08:33:02 2013 -0700 @@ -140,3 +140,4 @@ endif endfunction +
--- a/scripts/miscellaneous/dump_prefs.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/miscellaneous/dump_prefs.m Wed Aug 28 08:33:02 2013 -0700 @@ -96,3 +96,4 @@ endfor endfunction +
--- a/scripts/miscellaneous/error_ids.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/miscellaneous/error_ids.m Wed Aug 28 08:33:02 2013 -0700 @@ -54,3 +54,4 @@ ## Remove from test statistics. No real tests possible %!assert (1) +
--- a/scripts/miscellaneous/fileattrib.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/miscellaneous/fileattrib.m Wed Aug 28 08:33:02 2013 -0700 @@ -143,3 +143,4 @@ endif endfunction +
--- a/scripts/miscellaneous/gunzip.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/miscellaneous/gunzip.m Wed Aug 28 08:33:02 2013 -0700 @@ -41,3 +41,4 @@ endif endfunction +
--- a/scripts/miscellaneous/isdeployed.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/miscellaneous/isdeployed.m Wed Aug 28 08:33:02 2013 -0700 @@ -30,3 +30,4 @@ %!assert (isdeployed (), false) +
--- a/scripts/miscellaneous/ismac.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/miscellaneous/ismac.m Wed Aug 28 08:33:02 2013 -0700 @@ -36,3 +36,4 @@ %!assert (islogical (ismac ())) %!error ismac (1) +
--- a/scripts/miscellaneous/mex.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/miscellaneous/mex.m Wed Aug 28 08:33:02 2013 -0700 @@ -27,3 +27,4 @@ args = {"--mex", varargin{:}}; mkoctfile (args{:}); endfunction +
--- a/scripts/miscellaneous/mexext.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/miscellaneous/mexext.m Wed Aug 28 08:33:02 2013 -0700 @@ -28,3 +28,4 @@ %!assert (mexext (), "mex") +
--- a/scripts/miscellaneous/mkoctfile.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/miscellaneous/mkoctfile.m Wed Aug 28 08:33:02 2013 -0700 @@ -167,3 +167,4 @@ endif endfunction +
--- a/scripts/miscellaneous/movefile.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/miscellaneous/movefile.m Wed Aug 28 08:33:02 2013 -0700 @@ -126,3 +126,4 @@ print_usage (); endif endfunction +
--- a/scripts/miscellaneous/namelengthmax.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/miscellaneous/namelengthmax.m Wed Aug 28 08:33:02 2013 -0700 @@ -32,3 +32,4 @@ %!assert (namelengthmax (), 63) +
--- a/scripts/miscellaneous/news.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/miscellaneous/news.m Wed Aug 28 08:33:02 2013 -0700 @@ -40,3 +40,4 @@ %!error news (1, 2) %!error <news: PACKAGE must be a string> news (1) %!error <news: package .* is not installed> news ("__NOT_A_VALID_PKG_NAME__") +
--- a/scripts/miscellaneous/pack.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/miscellaneous/pack.m Wed Aug 28 08:33:02 2013 -0700 @@ -27,3 +27,4 @@ function pack () endfunction +
--- a/scripts/miscellaneous/perl.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/miscellaneous/perl.m Wed Aug 28 08:33:02 2013 -0700 @@ -48,3 +48,4 @@ endif endfunction +
--- a/scripts/miscellaneous/private/display_info_file.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/miscellaneous/private/display_info_file.m Wed Aug 28 08:33:02 2013 -0700 @@ -53,3 +53,4 @@ fclose (fid); endfunction +
--- a/scripts/miscellaneous/python.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/miscellaneous/python.m Wed Aug 28 08:33:02 2013 -0700 @@ -47,3 +47,4 @@ endif endfunction +
--- a/scripts/miscellaneous/rmappdata.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/miscellaneous/rmappdata.m Wed Aug 28 08:33:02 2013 -0700 @@ -45,6 +45,7 @@ endfunction + %!test %! setappdata (0, "hello", "world"); %! rmappdata (0, "hello");
--- a/scripts/miscellaneous/run.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/miscellaneous/run.m Wed Aug 28 08:33:02 2013 -0700 @@ -59,3 +59,4 @@ endif endif endfunction +
--- a/scripts/miscellaneous/tar.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/miscellaneous/tar.m Wed Aug 28 08:33:02 2013 -0700 @@ -64,3 +64,4 @@ endif endfunction +
--- a/scripts/miscellaneous/tempname.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/miscellaneous/tempname.m Wed Aug 28 08:33:02 2013 -0700 @@ -33,3 +33,4 @@ %% No tests needed for alias. %!assert (1) +
--- a/scripts/miscellaneous/untar.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/miscellaneous/untar.m Wed Aug 28 08:33:02 2013 -0700 @@ -41,3 +41,4 @@ endif endfunction +
--- a/scripts/miscellaneous/unzip.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/miscellaneous/unzip.m Wed Aug 28 08:33:02 2013 -0700 @@ -41,3 +41,4 @@ endif endfunction +
--- a/scripts/miscellaneous/what.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/miscellaneous/what.m Wed Aug 28 08:33:02 2013 -0700 @@ -108,3 +108,4 @@ endfor endif endfunction +
--- a/scripts/miscellaneous/zip.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/miscellaneous/zip.m Wed Aug 28 08:33:02 2013 -0700 @@ -66,3 +66,4 @@ endif endfunction +
--- a/scripts/optimization/fminunc.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/optimization/fminunc.m Wed Aug 28 08:33:02 2013 -0700 @@ -427,3 +427,4 @@ x = alpha * x + ((1-alpha) * min (snm, delta)) * s; endif endfunction +
--- a/scripts/optimization/fsolve.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/optimization/fsolve.m Wed Aug 28 08:33:02 2013 -0700 @@ -461,6 +461,7 @@ endif endfunction + %!function retval = __f (p) %! x = p(1); %! y = p(2);
--- a/scripts/optimization/fzero.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/optimization/fzero.m Wed Aug 28 08:33:02 2013 -0700 @@ -357,6 +357,7 @@ endif endfunction + %!shared opt0 %! opt0 = optimset ("tolx", 0); %!assert (fzero (@cos, [0, 3], opt0), pi/2, 10*eps)
--- a/scripts/optimization/glpk.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/optimization/glpk.m Wed Aug 28 08:33:02 2013 -0700 @@ -613,3 +613,4 @@ __glpk__ (c, A, b, lb, ub, ctype, vartype, sense, param); endfunction +
--- a/scripts/optimization/optimget.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/optimization/optimget.m Wed Aug 28 08:33:02 2013 -0700 @@ -56,6 +56,7 @@ endfunction + %!error optimget () %!shared opts @@ -65,3 +66,4 @@ %!assert (optimget (opts, "MaxITer"), 100); %!warning (optimget (opts, "Max")); %!warning (optimget (opts, "foobar")); +
--- a/scripts/optimization/optimset.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/optimization/optimset.m Wed Aug 28 08:33:02 2013 -0700 @@ -172,3 +172,4 @@ %!warning (optimset ("foobar", 13)); %!error (optimset ("%NOT_A_REAL_FUNCTION_NAME%")) +
--- a/scripts/optimization/qp.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/optimization/qp.m Wed Aug 28 08:33:02 2013 -0700 @@ -405,3 +405,4 @@ endif endfunction +
--- a/scripts/optimization/sqp.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/optimization/sqp.m Wed Aug 28 08:33:02 2013 -0700 @@ -767,3 +767,4 @@ %!error sqp (1, cell (3,1), cell (2,1), cell (2,1),[],[],1.5) %!error sqp (1, cell (3,1), cell (2,1), cell (2,1),[],[],[], ones (2,2)) %!error sqp (1, cell (3,1), cell (2,1), cell (2,1),[],[],[],-1) +
--- a/scripts/path/pathdef.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/path/pathdef.m Wed Aug 28 08:33:02 2013 -0700 @@ -124,3 +124,4 @@ endif endfunction +
--- a/scripts/pkg/pkg.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/pkg/pkg.m Wed Aug 28 08:33:02 2013 -0700 @@ -556,3 +556,4 @@ error ("you must specify a valid action for 'pkg'. See 'help pkg' for details"); endswitch endfunction +
--- a/scripts/pkg/private/build.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/pkg/private/build.m Wed Aug 28 08:33:02 2013 -0700 @@ -61,3 +61,4 @@ endif end_unwind_protect endfunction +
--- a/scripts/pkg/private/describe.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/pkg/private/describe.m Wed Aug 28 08:33:02 2013 -0700 @@ -84,3 +84,4 @@ endif endfunction +
--- a/scripts/pkg/private/dirempty.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/pkg/private/dirempty.m Wed Aug 28 08:33:02 2013 -0700 @@ -48,3 +48,4 @@ emp = true; endif endfunction +
--- a/scripts/pkg/private/get_forge_download.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/pkg/private/get_forge_download.m Wed Aug 28 08:33:02 2013 -0700 @@ -26,3 +26,4 @@ [ver, url] = get_forge_pkg (name); local_file = [name, "-", ver, ".tar.gz"]; endfunction +
--- a/scripts/pkg/private/get_forge_pkg.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/pkg/private/get_forge_pkg.m Wed Aug 28 08:33:02 2013 -0700 @@ -78,3 +78,4 @@ endif endfunction +
--- a/scripts/pkg/private/get_unsatisfied_deps.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/pkg/private/get_unsatisfied_deps.m Wed Aug 28 08:33:02 2013 -0700 @@ -52,3 +52,4 @@ endif endfor endfunction +
--- a/scripts/pkg/private/install.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/pkg/private/install.m Wed Aug 28 08:33:02 2013 -0700 @@ -341,3 +341,4 @@ endif endfunction +
--- a/scripts/pkg/private/is_architecture_dependent.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/pkg/private/is_architecture_dependent.m Wed Aug 28 08:33:02 2013 -0700 @@ -44,3 +44,4 @@ endif endfor endfunction +
--- a/scripts/pkg/private/list_forge_packages.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/pkg/private/list_forge_packages.m Wed Aug 28 08:33:02 2013 -0700 @@ -42,3 +42,4 @@ endfor endif endfunction +
--- a/scripts/pkg/private/rebuild.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/pkg/private/rebuild.m Wed Aug 28 08:33:02 2013 -0700 @@ -97,3 +97,4 @@ endif endif endfunction +
--- a/scripts/pkg/private/shell.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/pkg/private/shell.m Wed Aug 28 08:33:02 2013 -0700 @@ -54,3 +54,4 @@ [status, output] = system (cmd); endif endfunction +
--- a/scripts/pkg/private/uninstall.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/pkg/private/uninstall.m Wed Aug 28 08:33:02 2013 -0700 @@ -144,3 +144,4 @@ endif endfunction +
--- a/scripts/plot/axes.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/axes.m Wed Aug 28 08:33:02 2013 -0700 @@ -79,3 +79,4 @@ endif endfunction +
--- a/scripts/plot/box.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/box.m Wed Aug 28 08:33:02 2013 -0700 @@ -68,3 +68,4 @@ set (hax, "box", box_state); endfunction +
--- a/scripts/plot/closereq.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/closereq.m Wed Aug 28 08:33:02 2013 -0700 @@ -40,3 +40,4 @@ endif endfunction +
--- a/scripts/plot/diffuse.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/diffuse.m Wed Aug 28 08:33:02 2013 -0700 @@ -56,3 +56,4 @@ retval(retval < 0) = 0; endfunction +
--- a/scripts/plot/ezpolar.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/ezpolar.m Wed Aug 28 08:33:02 2013 -0700 @@ -69,3 +69,4 @@ %!demo %! clf; %! ezpolar (@(t) sin (5/4 * t), [0, 8*pi]); +
--- a/scripts/plot/findfigs.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/findfigs.m Wed Aug 28 08:33:02 2013 -0700 @@ -79,3 +79,4 @@ endif endfor endfunction +
--- a/scripts/plot/gco.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/gco.m Wed Aug 28 08:33:02 2013 -0700 @@ -44,3 +44,4 @@ h = get (get (0, "currentfigure"), "currentobject"); endfunction +
--- a/scripts/plot/guidata.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/guidata.m Wed Aug 28 08:33:02 2013 -0700 @@ -59,3 +59,4 @@ endif endfunction +
--- a/scripts/plot/guihandles.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/guihandles.m Wed Aug 28 08:33:02 2013 -0700 @@ -70,3 +70,4 @@ endfor endfunction +
--- a/scripts/plot/hdl2struct.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/hdl2struct.m Wed Aug 28 08:33:02 2013 -0700 @@ -169,3 +169,4 @@ ## FIXME: need validation tests +
--- a/scripts/plot/linkprop.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/linkprop.m Wed Aug 28 08:33:02 2013 -0700 @@ -99,3 +99,4 @@ warning ("linkprop: can not remove linked properties"); endif endfunction +
--- a/scripts/plot/peaks.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/peaks.m Wed Aug 28 08:33:02 2013 -0700 @@ -92,3 +92,4 @@ endif endfunction +
--- a/scripts/plot/print.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/print.m Wed Aug 28 08:33:02 2013 -0700 @@ -708,4 +708,3 @@ endif endfunction -
--- a/scripts/plot/private/__add_datasource__.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/private/__add_datasource__.m Wed Aug 28 08:33:02 2013 -0700 @@ -49,3 +49,4 @@ endif endwhile endfunction +
--- a/scripts/plot/private/__axis_label__.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/private/__axis_label__.m Wed Aug 28 08:33:02 2013 -0700 @@ -40,3 +40,4 @@ endif endfunction +
--- a/scripts/plot/private/__clabel__.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/private/__clabel__.m Wed Aug 28 08:33:02 2013 -0700 @@ -114,3 +114,4 @@ i1 += clen+1; endwhile endfunction +
--- a/scripts/plot/private/__color_str_rgb__.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/private/__color_str_rgb__.m Wed Aug 28 08:33:02 2013 -0700 @@ -48,3 +48,4 @@ error ("__color_str_rgb__: expecting a string argument"); endif endfunction +
--- a/scripts/plot/private/__contour__.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/private/__contour__.m Wed Aug 28 08:33:02 2013 -0700 @@ -573,3 +573,4 @@ endif endif endfunction +
--- a/scripts/plot/private/__default_plot_options__.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/private/__default_plot_options__.m Wed Aug 28 08:33:02 2013 -0700 @@ -32,3 +32,4 @@ options.errorstyle = []; endfunction +
--- a/scripts/plot/private/__errcomm__.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/private/__errcomm__.m Wed Aug 28 08:33:02 2013 -0700 @@ -76,3 +76,4 @@ drawnow (); endfunction +
--- a/scripts/plot/private/__file_filter__.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/private/__file_filter__.m Wed Aug 28 08:33:02 2013 -0700 @@ -91,3 +91,4 @@ endif endfunction +
--- a/scripts/plot/private/__fltk_file_filter__.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/private/__fltk_file_filter__.m Wed Aug 28 08:33:02 2013 -0700 @@ -62,3 +62,4 @@ retval = fltk_str; endfunction +
--- a/scripts/plot/private/__getlegenddata__.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/private/__getlegenddata__.m Wed Aug 28 08:33:02 2013 -0700 @@ -56,3 +56,4 @@ endfor endfunction +
--- a/scripts/plot/private/__gnuplot_open_stream__.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/private/__gnuplot_open_stream__.m Wed Aug 28 08:33:02 2013 -0700 @@ -43,3 +43,4 @@ set (h, "__plot_stream__", plot_stream); endif endfunction +
--- a/scripts/plot/private/__gnuplot_print__.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/private/__gnuplot_print__.m Wed Aug 28 08:33:02 2013 -0700 @@ -313,3 +313,4 @@ fontsize = {fontsize}; endswitch endfunction +
--- a/scripts/plot/private/__go_draw_axes__.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/private/__go_draw_axes__.m Wed Aug 28 08:33:02 2013 -0700 @@ -2659,3 +2659,4 @@ endif endif endfunction +
--- a/scripts/plot/private/__interp_cube__.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/private/__interp_cube__.m Wed Aug 28 08:33:02 2013 -0700 @@ -182,3 +182,4 @@ frac(:, 3) = (v(:, 3) - z(idx(:, 3))) ... ./ (z(idx(:, 3)+1) - z(idx(:, 3))); endfunction +
--- a/scripts/plot/private/__is_function__.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/private/__is_function__.m Wed Aug 28 08:33:02 2013 -0700 @@ -29,3 +29,4 @@ result = (existval == 2 || existval == 3 || existval == 5 || existval == 6); endfunction +
--- a/scripts/plot/private/__line__.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/private/__line__.m Wed Aug 28 08:33:02 2013 -0700 @@ -126,3 +126,4 @@ endif endfunction +
--- a/scripts/plot/private/__marching_cube__.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/private/__marching_cube__.m Wed Aug 28 08:33:02 2013 -0700 @@ -528,3 +528,4 @@ 0, 3, 8, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1; -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 ] + 1; endfunction +
--- a/scripts/plot/private/__next_line_style__.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/private/__next_line_style__.m Wed Aug 28 08:33:02 2013 -0700 @@ -55,3 +55,4 @@ endif endfunction +
--- a/scripts/plot/private/__patch__.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/private/__patch__.m Wed Aug 28 08:33:02 2013 -0700 @@ -366,3 +366,4 @@ recursive = false; endif endfunction +
--- a/scripts/plot/private/__pie__.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/private/__pie__.m Wed Aug 28 08:33:02 2013 -0700 @@ -198,3 +198,4 @@ endfor endif endfunction +
--- a/scripts/plot/private/__pltopt__.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/private/__pltopt__.m Wed Aug 28 08:33:02 2013 -0700 @@ -231,3 +231,4 @@ endif endfunction +
--- a/scripts/plot/private/__quiver__.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/private/__quiver__.m Wed Aug 28 08:33:02 2013 -0700 @@ -442,3 +442,4 @@ "markerfacecolor", get (h, "markerfacecolor"), "markersize", get (h, "markersize")); endfunction +
--- a/scripts/plot/private/__scatter__.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/private/__scatter__.m Wed Aug 28 08:33:02 2013 -0700 @@ -376,3 +376,4 @@ endif endif endfunction +
--- a/scripts/plot/private/__stem__.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/private/__stem__.m Wed Aug 28 08:33:02 2013 -0700 @@ -565,3 +565,4 @@ set (kids(2), "xdata", xt, "ydata", yt, "zdata", zt); set (kids(1), "xdata", x, "ydata", y, "zdata", z); endfunction +
--- a/scripts/plot/private/__uigetdir_fltk__.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/private/__uigetdir_fltk__.m Wed Aug 28 08:33:02 2013 -0700 @@ -32,3 +32,4 @@ dirname = __fltk_uigetfile__ ("", dialog_title, start_path, [240, 120], "dir"); endfunction +
--- a/scripts/plot/private/__uigetfile_fltk__.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/private/__uigetfile_fltk__.m Wed Aug 28 08:33:02 2013 -0700 @@ -36,3 +36,4 @@ [retval, retpath, retindex] = __fltk_uigetfile__ (filters, title, defval, position, multiselect); endfunction +
--- a/scripts/plot/private/__uiobject_split_args__.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/private/__uiobject_split_args__.m Wed Aug 28 08:33:02 2013 -0700 @@ -64,3 +64,4 @@ endif endfunction +
--- a/scripts/plot/private/__uiputfile_fltk__.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/private/__uiputfile_fltk__.m Wed Aug 28 08:33:02 2013 -0700 @@ -36,3 +36,4 @@ [retval, retpath, retindex] = __fltk_uigetfile__ (filters, title, defval, position, tag); endfunction +
--- a/scripts/plot/refresh.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/refresh.m Wed Aug 28 08:33:02 2013 -0700 @@ -42,3 +42,4 @@ drawnow (); endfunction +
--- a/scripts/plot/saveas.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/saveas.m Wed Aug 28 08:33:02 2013 -0700 @@ -105,3 +105,4 @@ print (fig, filename, prt_opt); endfunction +
--- a/scripts/plot/shg.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/shg.m Wed Aug 28 08:33:02 2013 -0700 @@ -35,3 +35,4 @@ drawnow (); endfunction +
--- a/scripts/plot/specular.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/specular.m Wed Aug 28 08:33:02 2013 -0700 @@ -91,3 +91,4 @@ retval = retval .^ se; endfunction +
--- a/scripts/plot/sphere.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/sphere.m Wed Aug 28 08:33:02 2013 -0700 @@ -87,3 +87,4 @@ endif endfunction +
--- a/scripts/plot/struct2hdl.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/struct2hdl.m Wed Aug 28 08:33:02 2013 -0700 @@ -637,3 +637,4 @@ ## FIXME: Need validation tests +
--- a/scripts/plot/subplot.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/subplot.m Wed Aug 28 08:33:02 2013 -0700 @@ -369,6 +369,7 @@ endif endfunction + %!demo %! clf; %! r = 3;
--- a/scripts/plot/uicontextmenu.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/uicontextmenu.m Wed Aug 28 08:33:02 2013 -0700 @@ -28,3 +28,4 @@ handle = __go_uicontextmenu__ (h, args{:}); endfunction +
--- a/scripts/plot/uicontrol.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/uicontrol.m Wed Aug 28 08:33:02 2013 -0700 @@ -34,3 +34,4 @@ endif endfunction +
--- a/scripts/plot/uipanel.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/uipanel.m Wed Aug 28 08:33:02 2013 -0700 @@ -29,3 +29,4 @@ handle = __go_uipanel__ (h, args{:}); endfunction +
--- a/scripts/plot/uipushtool.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/uipushtool.m Wed Aug 28 08:33:02 2013 -0700 @@ -37,3 +37,4 @@ handle = __go_uipushtool__ (h, args{:}); endfunction +
--- a/scripts/plot/uiresume.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/uiresume.m Wed Aug 28 08:33:02 2013 -0700 @@ -43,3 +43,4 @@ end_try_catch endfunction +
--- a/scripts/plot/uitoggletool.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/uitoggletool.m Wed Aug 28 08:33:02 2013 -0700 @@ -37,3 +37,4 @@ handle = __go_uitoggletool__ (h, args{:}); endfunction +
--- a/scripts/plot/uitoolbar.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/uitoolbar.m Wed Aug 28 08:33:02 2013 -0700 @@ -29,3 +29,4 @@ handle = __go_uitoolbar__ (h, args{:}); endfunction +
--- a/scripts/plot/uiwait.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/uiwait.m Wed Aug 28 08:33:02 2013 -0700 @@ -78,3 +78,4 @@ endif endfunction +
--- a/scripts/plot/waitforbuttonpress.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/plot/waitforbuttonpress.m Wed Aug 28 08:33:02 2013 -0700 @@ -47,3 +47,4 @@ endif endfunction +
--- a/scripts/polynomial/pchip.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/polynomial/pchip.m Wed Aug 28 08:33:02 2013 -0700 @@ -125,6 +125,7 @@ endfunction + %!demo %! x = 0:8; %! y = [1, 1, 1, 1, 0.5, 0, 0, 0, 0]; @@ -170,3 +171,4 @@ %!error (pchip (1,2)); %!error (pchip (1,2,3)); +
--- a/scripts/polynomial/polyeig.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/polynomial/polyeig.m Wed Aug 28 08:33:02 2013 -0700 @@ -83,9 +83,11 @@ endfunction + %!test %! C0 = [8, 0; 0, 4]; C1 = [1, 0; 0, 1]; %! [v,z] = polyeig (C0, C1); %! assert (isequal (z(1), -8), true); %! d = C0*v + C1*v*z; %! assert (isequal (norm(d), 0.0), true); +
--- a/scripts/polynomial/ppval.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/polynomial/ppval.m Wed Aug 28 08:33:02 2013 -0700 @@ -127,3 +127,4 @@ %! ret(:,:,1) = ppval (pp, breaks'); %! ret(:,:,2) = ppval (pp, breaks'); %! assert (ppval (pp, [breaks',breaks']), ret) +
--- a/scripts/prefs/addpref.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/prefs/addpref.m Wed Aug 28 08:33:02 2013 -0700 @@ -69,6 +69,8 @@ endfunction + %% Testing these functions will require some care to avoid wiping out %% existing (or creating unwanted) preferences for the user running the %% tests. +
--- a/scripts/prefs/getpref.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/prefs/getpref.m Wed Aug 28 08:33:02 2013 -0700 @@ -90,6 +90,8 @@ endfunction + %% Testing these functions will require some care to avoid wiping out %% existing (or creating unwanted) preferences for the user running the %% tests. +
--- a/scripts/prefs/ispref.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/prefs/ispref.m Wed Aug 28 08:33:02 2013 -0700 @@ -55,6 +55,8 @@ endfunction + %% Testing these functions will require some care to avoid wiping out %% existing (or creating unwanted) preferences for the user running the %% tests. +
--- a/scripts/prefs/private/loadprefs.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/prefs/private/loadprefs.m Wed Aug 28 08:33:02 2013 -0700 @@ -38,6 +38,8 @@ endfunction + %% Testing these functions will require some care to avoid wiping out %% existing (or creating unwanted) preferences for the user running the %% tests. +
--- a/scripts/prefs/private/prefsfile.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/prefs/private/prefsfile.m Wed Aug 28 08:33:02 2013 -0700 @@ -29,6 +29,8 @@ endfunction + %% Testing these functions will require some care to avoid wiping out %% existing (or creating unwanted) preferences for the user running the %% tests. +
--- a/scripts/prefs/private/saveprefs.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/prefs/private/saveprefs.m Wed Aug 28 08:33:02 2013 -0700 @@ -31,6 +31,8 @@ endfunction + %% Testing these functions will require some care to avoid wiping out %% existing (or creating unwanted) preferences for the user running the %% tests. +
--- a/scripts/prefs/setpref.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/prefs/setpref.m Wed Aug 28 08:33:02 2013 -0700 @@ -62,6 +62,8 @@ endfunction + %% Testing these functions will require some care to avoid wiping out %% existing (or creating unwanted) preferences for the user running the %% tests. +
--- a/scripts/set/private/validargs.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/set/private/validargs.m Wed Aug 28 08:33:02 2013 -0700 @@ -55,3 +55,4 @@ endif endfunction +
--- a/scripts/set/unique.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/set/unique.m Wed Aug 28 08:33:02 2013 -0700 @@ -221,3 +221,4 @@ %!error unique({"a", "b", "c"}, "UnknownOption1", "UnknownOption2") %!error unique({"a", "b", "c"}, "rows", "UnknownOption2") %!error unique({"a", "b", "c"}, "UnknownOption1", "last") +
--- a/scripts/signal/arch_fit.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/signal/arch_fit.m Wed Aug 28 08:33:02 2013 -0700 @@ -116,3 +116,4 @@ endfor endfunction +
--- a/scripts/signal/arch_rnd.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/signal/arch_rnd.m Wed Aug 28 08:33:02 2013 -0700 @@ -100,3 +100,4 @@ y = y(1:t); endfunction +
--- a/scripts/signal/arch_test.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/signal/arch_test.m Wed Aug 28 08:33:02 2013 -0700 @@ -94,3 +94,4 @@ pval = 1 - chi2cdf (lm, p); endfunction +
--- a/scripts/signal/arma_rnd.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/signal/arma_rnd.m Wed Aug 28 08:33:02 2013 -0700 @@ -79,3 +79,4 @@ x = x(n + 1 : t + n); endfunction +
--- a/scripts/signal/durbinlevinson.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/signal/durbinlevinson.m Wed Aug 28 08:33:02 2013 -0700 @@ -91,3 +91,4 @@ endif endfunction +
--- a/scripts/signal/fractdiff.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/signal/fractdiff.m Wed Aug 28 08:33:02 2013 -0700 @@ -67,3 +67,4 @@ endif endfunction +
--- a/scripts/signal/freqz.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/signal/freqz.m Wed Aug 28 08:33:02 2013 -0700 @@ -203,3 +203,4 @@ %! assert (h,h2.',20*eps); %! [h3,f3] = freqz (b,a,32,"whole",320); %! assert (f3,[0:31]'*10,10*eps); +
--- a/scripts/signal/freqz_plot.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/signal/freqz_plot.m Wed Aug 28 08:33:02 2013 -0700 @@ -64,3 +64,4 @@ axis ([w(1), w(n)], "autoy", "label"); endfunction +
--- a/scripts/signal/hurst.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/signal/hurst.m Wed Aug 28 08:33:02 2013 -0700 @@ -46,3 +46,4 @@ H = log (RS) / log (xr); endfunction +
--- a/scripts/signal/periodogram.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/signal/periodogram.m Wed Aug 28 08:33:02 2013 -0700 @@ -189,3 +189,4 @@ endif endfunction +
--- a/scripts/signal/private/rectangle_lw.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/signal/private/rectangle_lw.m Wed Aug 28 08:33:02 2013 -0700 @@ -33,3 +33,4 @@ retval(1:t, 1) = ones (t, 1); endfunction +
--- a/scripts/signal/private/rectangle_sw.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/signal/private/rectangle_sw.m Wed Aug 28 08:33:02 2013 -0700 @@ -37,32 +37,3 @@ endfunction - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
--- a/scripts/signal/private/triangle_sw.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/signal/private/triangle_sw.m Wed Aug 28 08:33:02 2013 -0700 @@ -37,32 +37,3 @@ endfunction - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
--- a/scripts/signal/spectral_adf.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/signal/spectral_adf.m Wed Aug 28 08:33:02 2013 -0700 @@ -68,8 +68,10 @@ endfunction + %% Test input validation %!error spectral_adf (); %!error spectral_adf (1, 2, 3, 4); %!error spectral_adf (1, 2); %!error spectral_adf (1, "invalid"); +
--- a/scripts/signal/spectral_xdf.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/signal/spectral_xdf.m Wed Aug 28 08:33:02 2013 -0700 @@ -69,8 +69,10 @@ endfunction + %% Test input validation %!error spectral_xdf (); %!error spectral_xdf (1, 2, 3, 4); %!error spectral_xdf (1, 2); %!error spectral_xdf (1, "invalid"); +
--- a/scripts/signal/stft.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/signal/stft.m Wed Aug 28 08:33:02 2013 -0700 @@ -132,3 +132,4 @@ endif endfunction +
--- a/scripts/signal/synthesis.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/signal/synthesis.m Wed Aug 28 08:33:02 2013 -0700 @@ -70,3 +70,4 @@ x = reshape (z, inc * nc, 1); endfunction +
--- a/scripts/signal/yulewalker.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/signal/yulewalker.m Wed Aug 28 08:33:02 2013 -0700 @@ -55,6 +55,3 @@ endfunction - - -
--- a/scripts/sparse/colperm.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/sparse/colperm.m Wed Aug 28 08:33:02 2013 -0700 @@ -35,3 +35,4 @@ idx = find (diff ([j; Inf]) != 0); [dummy, p] = sort (idx - [0; idx(1:(end-1))]); endfunction +
--- a/scripts/sparse/eigs.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/sparse/eigs.m Wed Aug 28 08:33:02 2013 -0700 @@ -361,6 +361,7 @@ endfunction + #### SPARSE MATRIX VERSIONS #### ## Real positive definite tests, n must be even @@ -1106,3 +1107,4 @@ %!assert (eigs (diag (1:5), 5, "sa"), [1;2;3;4;5]); %!assert (eigs (diag (1:5), 5, "la"), [5;4;3;2;1]); %!assert (eigs (diag (1:5), 3, "be"), [1;4;5]); +
--- a/scripts/sparse/etreeplot.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/sparse/etreeplot.m Wed Aug 28 08:33:02 2013 -0700 @@ -34,3 +34,4 @@ treeplot (etree (A+A'), varargin{:}); endfunction +
--- a/scripts/sparse/gmres.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/sparse/gmres.m Wed Aug 28 08:33:02 2013 -0700 @@ -234,3 +234,4 @@ %!error <A must be a function or matrix> gmres ({1},2) %!error <M1 must be a function or matrix> gmres (1,2,3,4,5,{6}) %!error <M2 must be a function or matrix> gmres (1,2,3,4,5,6,{7}) +
--- a/scripts/sparse/private/__sprand_impl__.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/sparse/private/__sprand_impl__.m Wed Aug 28 08:33:02 2013 -0700 @@ -78,3 +78,4 @@ S = sparse (i, j, randfun (k, 1), m, n); endfunction +
--- a/scripts/sparse/spdiags.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/sparse/spdiags.m Wed Aug 28 08:33:02 2013 -0700 @@ -91,3 +91,4 @@ %!assert (spdiags (zeros (1,0),1,1,1), sparse (0)) %!assert (spdiags (zeros (0,1),1,1,1), sparse (0)) %!assert (spdiags ([0.5 -1 0.5], 0:2, 1, 1), sparse(0.5)) +
--- a/scripts/sparse/sprandn.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/sparse/sprandn.m Wed Aug 28 08:33:02 2013 -0700 @@ -75,3 +75,4 @@ %% Test very large, very low density matrix doesn't fail %!test %! s = sprandn(1e6,1e6,1e-7); +
--- a/scripts/specfun/bessel.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/specfun/bessel.m Wed Aug 28 08:33:02 2013 -0700 @@ -93,3 +93,4 @@ %!error bessel () +
--- a/scripts/specfun/betaln.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/specfun/betaln.m Wed Aug 28 08:33:02 2013 -0700 @@ -55,3 +55,4 @@ %% Test input validation %!error (betaln (1)) %!error (betaln (1,2,3)) +
--- a/scripts/specfun/expint.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/specfun/expint.m Wed Aug 28 08:33:02 2013 -0700 @@ -201,3 +201,4 @@ %% Test input validation %!error expint () %!error expint (1,2) +
--- a/scripts/special-matrix/gallery.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/special-matrix/gallery.m Wed Aug 28 08:33:02 2013 -0700 @@ -2852,3 +2852,4 @@ A = A'; endif endfunction +
--- a/scripts/startup/__finish__.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/startup/__finish__.m Wed Aug 28 08:33:02 2013 -0700 @@ -40,3 +40,4 @@ ## No test needed for internal helper function. %!assert (1) +
--- a/scripts/statistics/base/qqplot.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/statistics/base/qqplot.m Wed Aug 28 08:33:02 2013 -0700 @@ -97,3 +97,4 @@ endif endfunction +
--- a/scripts/statistics/distributions/tcdf.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/statistics/distributions/tcdf.m Wed Aug 28 08:33:02 2013 -0700 @@ -157,3 +157,4 @@ ## x = power(mpf(10), -mpf(i)) ## print "%%!assert (tcdf (10^(-%d), 2.5), %s, -eps)" \ ## % (i, nstr(F(x, nu), 17)) +
--- a/scripts/statistics/distributions/wienrnd.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/statistics/distributions/wienrnd.m Wed Aug 28 08:33:02 2013 -0700 @@ -52,3 +52,4 @@ retval = [((1: n*t)' / n), retval]; endfunction +
--- a/scripts/statistics/models/logistic_regression.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/statistics/models/logistic_regression.m Wed Aug 28 08:33:02 2013 -0700 @@ -190,3 +190,4 @@ endif endfunction +
--- a/scripts/statistics/models/private/logistic_regression_derivatives.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/statistics/models/private/logistic_regression_derivatives.m Wed Aug 28 08:33:02 2013 -0700 @@ -41,3 +41,4 @@ - dlogp' * dlogp; endfunction +
--- a/scripts/statistics/models/private/logistic_regression_likelihood.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/statistics/models/private/logistic_regression_likelihood.m Wed Aug 28 08:33:02 2013 -0700 @@ -37,3 +37,4 @@ dev = -2 * sum (log (p)); endfunction +
--- a/scripts/statistics/tests/anova.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/statistics/tests/anova.m Wed Aug 28 08:33:02 2013 -0700 @@ -108,3 +108,4 @@ endif endfunction +
--- a/scripts/statistics/tests/bartlett_test.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/statistics/tests/bartlett_test.m Wed Aug 28 08:33:02 2013 -0700 @@ -65,3 +65,4 @@ endif endfunction +
--- a/scripts/statistics/tests/chisquare_test_homogeneity.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/statistics/tests/chisquare_test_homogeneity.m Wed Aug 28 08:33:02 2013 -0700 @@ -66,3 +66,4 @@ endif endfunction +
--- a/scripts/statistics/tests/chisquare_test_independence.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/statistics/tests/chisquare_test_independence.m Wed Aug 28 08:33:02 2013 -0700 @@ -51,3 +51,4 @@ endif endfunction +
--- a/scripts/statistics/tests/cor_test.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/statistics/tests/cor_test.m Wed Aug 28 08:33:02 2013 -0700 @@ -133,3 +133,4 @@ endif endfunction +
--- a/scripts/statistics/tests/f_test_regression.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/statistics/tests/f_test_regression.m Wed Aug 28 08:33:02 2013 -0700 @@ -75,3 +75,4 @@ endif endfunction +
--- a/scripts/statistics/tests/hotelling_test.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/statistics/tests/hotelling_test.m Wed Aug 28 08:33:02 2013 -0700 @@ -70,3 +70,4 @@ endif endfunction +
--- a/scripts/statistics/tests/hotelling_test_2.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/statistics/tests/hotelling_test_2.m Wed Aug 28 08:33:02 2013 -0700 @@ -84,3 +84,4 @@ endif endfunction +
--- a/scripts/statistics/tests/kolmogorov_smirnov_test_2.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/statistics/tests/kolmogorov_smirnov_test_2.m Wed Aug 28 08:33:02 2013 -0700 @@ -102,3 +102,4 @@ endif endfunction +
--- a/scripts/statistics/tests/kruskal_wallis_test.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/statistics/tests/kruskal_wallis_test.m Wed Aug 28 08:33:02 2013 -0700 @@ -98,3 +98,4 @@ ## Test with ties %!assert (abs (kruskal_wallis_test ([86 86], [74]) - 0.157299207050285) < 0.0000000000001) +
--- a/scripts/statistics/tests/manova.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/statistics/tests/manova.m Wed Aug 28 08:33:02 2013 -0700 @@ -159,3 +159,4 @@ printf ("\n"); endfunction +
--- a/scripts/statistics/tests/mcnemar_test.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/statistics/tests/mcnemar_test.m Wed Aug 28 08:33:02 2013 -0700 @@ -63,5 +63,3 @@ endfunction - -
--- a/scripts/statistics/tests/prop_test_2.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/statistics/tests/prop_test_2.m Wed Aug 28 08:33:02 2013 -0700 @@ -78,3 +78,4 @@ endif endfunction +
--- a/scripts/statistics/tests/run_test.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/statistics/tests/run_test.m Wed Aug 28 08:33:02 2013 -0700 @@ -56,3 +56,4 @@ endif endfunction +
--- a/scripts/statistics/tests/sign_test.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/statistics/tests/sign_test.m Wed Aug 28 08:33:02 2013 -0700 @@ -81,3 +81,4 @@ endif endfunction +
--- a/scripts/statistics/tests/t_test.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/statistics/tests/t_test.m Wed Aug 28 08:33:02 2013 -0700 @@ -81,3 +81,4 @@ endif endfunction +
--- a/scripts/statistics/tests/t_test_2.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/statistics/tests/t_test_2.m Wed Aug 28 08:33:02 2013 -0700 @@ -82,3 +82,4 @@ endif endfunction +
--- a/scripts/statistics/tests/t_test_regression.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/statistics/tests/t_test_regression.m Wed Aug 28 08:33:02 2013 -0700 @@ -97,3 +97,4 @@ endif endfunction +
--- a/scripts/statistics/tests/u_test.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/statistics/tests/u_test.m Wed Aug 28 08:33:02 2013 -0700 @@ -83,3 +83,4 @@ endif endfunction +
--- a/scripts/statistics/tests/var_test.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/statistics/tests/var_test.m Wed Aug 28 08:33:02 2013 -0700 @@ -78,3 +78,4 @@ endif endfunction +
--- a/scripts/statistics/tests/welch_test.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/statistics/tests/welch_test.m Wed Aug 28 08:33:02 2013 -0700 @@ -83,3 +83,4 @@ endif endfunction +
--- a/scripts/statistics/tests/wilcoxon_test.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/statistics/tests/wilcoxon_test.m Wed Aug 28 08:33:02 2013 -0700 @@ -89,3 +89,4 @@ endif endfunction +
--- a/scripts/statistics/tests/z_test.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/statistics/tests/z_test.m Wed Aug 28 08:33:02 2013 -0700 @@ -85,3 +85,4 @@ endif endfunction +
--- a/scripts/statistics/tests/z_test_2.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/statistics/tests/z_test_2.m Wed Aug 28 08:33:02 2013 -0700 @@ -86,3 +86,4 @@ endif endfunction +
--- a/scripts/strings/strcat.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/strings/strcat.m Wed Aug 28 08:33:02 2013 -0700 @@ -118,6 +118,7 @@ endfunction + ## test the dimensionality ## 1d %!assert (strcat ("ab ", "ab "), "abab")
--- a/scripts/strings/strjoin.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/strings/strjoin.m Wed Aug 28 08:33:02 2013 -0700 @@ -85,6 +85,7 @@ endfunction + %!assert (strjoin ({"hello"}, "-"), "hello") %!assert (strjoin ({"hello", "world"}), "hello world") %!assert (strjoin ({"Octave", "Scilab", "Lush", "Yorick"}, "*"), @@ -94,3 +95,4 @@ %!assert (strjoin ({'Octave','Scilab'},'\n'), "Octave\nScilab") %!assert (strjoin ({'Octave','Scilab'},{'\n'}), "Octave\\nScilab") %!assert (strjoin ({},'foo'), "") +
--- a/scripts/strings/strsplit.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/strings/strsplit.m Wed Aug 28 08:33:02 2013 -0700 @@ -209,6 +209,7 @@ endif endfunction + %!shared str %! str = "The rain in Spain stays mainly in the plain."; % Split on all whitespace.
--- a/scripts/testfun/__have_feature__.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/testfun/__have_feature__.m Wed Aug 28 08:33:02 2013 -0700 @@ -32,3 +32,4 @@ retval = false; endif endfunction +
--- a/scripts/testfun/__printf_assert__.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/testfun/__printf_assert__.m Wed Aug 28 08:33:02 2013 -0700 @@ -25,3 +25,4 @@ global _assert_printf; _assert_printf = cat (2, _assert_printf, sprintf (varargin{:})); endfunction +
--- a/scripts/testfun/__prog_output_assert__.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/testfun/__prog_output_assert__.m Wed Aug 28 08:33:02 2013 -0700 @@ -32,3 +32,4 @@ endif _assert_printf = ""; endfunction +
--- a/scripts/testfun/__run_test_suite__.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/testfun/__run_test_suite__.m Wed Aug 28 08:33:02 2013 -0700 @@ -267,3 +267,4 @@ n_tot = n_with + n_without; printf ("\n%d (of %d) %s files have no tests.\n", n_without, n_tot, typ); endfunction +
--- a/scripts/time/clock.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/time/clock.m Wed Aug 28 08:33:02 2013 -0700 @@ -54,6 +54,7 @@ endfunction + %!test %! t1 = clock; %! t2 = str2num (strftime ("[%Y, %m, %d, %H, %M, %S]", localtime (time ())));
--- a/scripts/time/datenum.m Wed Aug 28 08:29:38 2013 -0700 +++ b/scripts/time/datenum.m Wed Aug 28 08:33:02 2013 -0700 @@ -203,3 +203,4 @@ %!error <expected date vector containing> datenum ([1, 2]) %!error <expected date vector containing> datenum ([1,2,3,4,5,6,7]) %!error <all inputs must be of class double> datenum (int32 (2000), int32 (1), int32 (1)) +