Fixed bug #9164: Refactored unit tests with assert functions 45/3545/13
authorMichael Baudin <michael.baudin@scilab.org>
Wed, 16 Mar 2011 16:12:17 +0000 (17:12 +0100)
committerVincent COUVERT <vincent.couvert@scilab.org>
Thu, 7 Apr 2011 11:41:32 +0000 (13:41 +0200)
commita6c940f5fd8ac8e781c5c0c1605a695ad895e28e
treec7bf4fef54e381fe81759360119c84db98c2a4b4
parent9e4ae2b98de4a0b1c492be340bcbe44926264a43
Fixed bug #9164: Refactored unit tests with assert functions
Add localization to assert_checkerror function

Change-Id: Id8e2cd78dc685af32bb0e38f76c947fef760e8f9
219 files changed:
scilab/CHANGES_5.4.X
scilab/modules/cacsd/tests/nonreg_tests/bug_3934.dia.ref
scilab/modules/cacsd/tests/nonreg_tests/bug_3934.tst
scilab/modules/cacsd/tests/nonreg_tests/bug_68.dia.ref
scilab/modules/cacsd/tests/nonreg_tests/bug_68.tst
scilab/modules/cacsd/tests/unit_tests/dscr.dia.ref
scilab/modules/cacsd/tests/unit_tests/dscr.tst
scilab/modules/development_tools/macros/assert/assert_checkerror.sci
scilab/modules/elementary_functions/tests/nonreg_tests/bug_8254.dia.ref
scilab/modules/elementary_functions/tests/nonreg_tests/bug_8254.tst
scilab/modules/elementary_functions/tests/unit_tests/IEEEcompatibility.dia.ref
scilab/modules/elementary_functions/tests/unit_tests/IEEEcompatibility.tst
scilab/modules/elementary_functions/tests/unit_tests/factorial.dia.ref
scilab/modules/elementary_functions/tests/unit_tests/factorial.tst
scilab/modules/elementary_functions/tests/unit_tests/gamma.dia.ref
scilab/modules/elementary_functions/tests/unit_tests/gamma.tst
scilab/modules/elementary_functions/tests/unit_tests/nearfloat.dia.ref
scilab/modules/elementary_functions/tests/unit_tests/nearfloat.tst
scilab/modules/elementary_functions/tests/unit_tests/tand.dia.ref
scilab/modules/elementary_functions/tests/unit_tests/tand.tst
scilab/modules/linear_algebra/tests/nonreg_tests/bug_2775.dia.ref
scilab/modules/linear_algebra/tests/nonreg_tests/bug_2775.tst
scilab/modules/linear_algebra/tests/unit_tests/norm.dia.ref
scilab/modules/linear_algebra/tests/unit_tests/norm.tst
scilab/modules/optimization/macros/neldermead/fminsearch.sci
scilab/modules/optimization/tests/nonreg_tests/bug_8160.dia.ref
scilab/modules/optimization/tests/nonreg_tests/bug_8160.tst
scilab/modules/optimization/tests/nonreg_tests/bug_8719.dia.ref
scilab/modules/optimization/tests/nonreg_tests/bug_8719.tst
scilab/modules/optimization/tests/nonreg_tests/bug_8720.dia.ref
scilab/modules/optimization/tests/nonreg_tests/bug_8720.tst
scilab/modules/optimization/tests/nonreg_tests/bug_8726.dia.ref
scilab/modules/optimization/tests/nonreg_tests/bug_8726.tst
scilab/modules/optimization/tests/nonreg_tests/bug_8727.dia.ref
scilab/modules/optimization/tests/nonreg_tests/bug_8727.tst
scilab/modules/optimization/tests/nonreg_tests/bug_8775.dia.ref
scilab/modules/optimization/tests/nonreg_tests/bug_8775.tst
scilab/modules/optimization/tests/unit_tests/derivative.dia.ref
scilab/modules/optimization/tests/unit_tests/derivative.linux.dia.ref
scilab/modules/optimization/tests/unit_tests/derivative.tst
scilab/modules/optimization/tests/unit_tests/karmarkar.dia.ref
scilab/modules/optimization/tests/unit_tests/karmarkar.tst
scilab/modules/optimization/tests/unit_tests/neldermead/fminsearch.linux.dia.ref
scilab/modules/optimization/tests/unit_tests/neldermead/fminsearch.tst
scilab/modules/optimization/tests/unit_tests/neldermead/fminsearch.win.dia.ref
scilab/modules/optimization/tests/unit_tests/neldermead/fminsearch_output.dia.ref
scilab/modules/optimization/tests/unit_tests/neldermead/fminsearch_output.tst
scilab/modules/optimization/tests/unit_tests/neldermead/fminsearch_output.unix.dia.ref
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_configure.dia.ref
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_configure.linux.dia.ref [new file with mode: 0644]
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_configure.tst
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_mckinnon.dia.ref
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_mckinnon.tst
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_mymethod.dia.ref
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_mymethod.tst
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_myterminate.dia.ref
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_myterminate.tst
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_newdestroy.dia.ref
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_newdestroy.linux.dia.ref [new file with mode: 0644]
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_newdestroy.tst
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_outputcmd.dia.ref
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_outputcmd.tst
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_outputcmd2.dia.ref
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_outputcmd2.tst
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_restart.dia.ref
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_restart.tst
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_rosensuzuki.dia.ref
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_rosensuzuki.linux.dia.ref
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_rosensuzuki.tst
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_search.dia.ref
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_search.tst
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_searchaddarg.dia.ref
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_searchaddarg.tst
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_searchaddarg2.dia.ref
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_searchaddarg2.tst
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_searchaddarg3.dia.ref
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_searchaddarg3.tst
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_searchdefault.dia.ref
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_searchdefault.tst
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_searchfixed.dia.ref
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_searchfixed.linux.dia.ref [new file with mode: 0644]
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_searchfixed.tst
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_searchfixed2.dia.ref
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_searchfixed2.linux.dia.ref
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_searchfixed2.tst
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_searchvariable.dia.ref
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_searchvariable.linux.dia.ref
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_searchvariable.tst
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_shapeX.dia.ref
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_shapeX.tst
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_simplex0.dia.ref
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_simplex0.tst
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_simplexaxes.dia.ref
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_simplexaxes.tst
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_simplexregular.dia.ref
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_simplexregular.tst
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_tolerance.dia.ref
scilab/modules/optimization/tests/unit_tests/neldermead/neldermead_tolerance.tst
scilab/modules/optimization/tests/unit_tests/neldermead/nmplot_contour.dia.ref
scilab/modules/optimization/tests/unit_tests/neldermead/nmplot_contour.tst
scilab/modules/optimization/tests/unit_tests/neldermead/nmplot_newdestroy.dia.ref
scilab/modules/optimization/tests/unit_tests/neldermead/nmplot_newdestroy.linux.dia.ref
scilab/modules/optimization/tests/unit_tests/neldermead/nmplot_newdestroy.tst
scilab/modules/optimization/tests/unit_tests/neldermead/nmplot_rosenbrock.dia.ref
scilab/modules/optimization/tests/unit_tests/neldermead/nmplot_rosenbrock.tst
scilab/modules/optimization/tests/unit_tests/neldermead/optimget.dia.ref
scilab/modules/optimization/tests/unit_tests/neldermead/optimget.tst
scilab/modules/optimization/tests/unit_tests/neldermead/optimset.dia.ref
scilab/modules/optimization/tests/unit_tests/neldermead/optimset.tst
scilab/modules/optimization/tests/unit_tests/optim_scilabscript.dia.ref
scilab/modules/optimization/tests/unit_tests/optim_scilabscript.tst
scilab/modules/optimization/tests/unit_tests/optimbase/optimbase_checkbounds.dia.ref
scilab/modules/optimization/tests/unit_tests/optimbase/optimbase_checkbounds.tst
scilab/modules/optimization/tests/unit_tests/optimbase/optimbase_checkcostfun.dia.ref
scilab/modules/optimization/tests/unit_tests/optimbase/optimbase_checkcostfun.tst
scilab/modules/optimization/tests/unit_tests/optimbase/optimbase_checkx0.dia.ref
scilab/modules/optimization/tests/unit_tests/optimbase/optimbase_checkx0.linux.dia.ref
scilab/modules/optimization/tests/unit_tests/optimbase/optimbase_checkx0.tst
scilab/modules/optimization/tests/unit_tests/optimbase/optimbase_function.dia.ref
scilab/modules/optimization/tests/unit_tests/optimbase/optimbase_function.tst
scilab/modules/optimization/tests/unit_tests/optimbase/optimbase_hasbounds.dia.ref
scilab/modules/optimization/tests/unit_tests/optimbase/optimbase_hasbounds.tst
scilab/modules/optimization/tests/unit_tests/optimbase/optimbase_isfeasible.dia.ref
scilab/modules/optimization/tests/unit_tests/optimbase/optimbase_isfeasible.linux.dia.ref
scilab/modules/optimization/tests/unit_tests/optimbase/optimbase_isfeasible.tst
scilab/modules/optimization/tests/unit_tests/optimbase/optimbase_isinbounds.dia.ref
scilab/modules/optimization/tests/unit_tests/optimbase/optimbase_isinbounds.linux.dia.ref
scilab/modules/optimization/tests/unit_tests/optimbase/optimbase_isinbounds.tst
scilab/modules/optimization/tests/unit_tests/optimbase/optimbase_isinnonlincons.dia.ref
scilab/modules/optimization/tests/unit_tests/optimbase/optimbase_isinnonlincons.tst
scilab/modules/optimization/tests/unit_tests/optimbase/optimbase_log.dia.ref
scilab/modules/optimization/tests/unit_tests/optimbase/optimbase_log.tst
scilab/modules/optimization/tests/unit_tests/optimbase/optimbase_newdestroy.dia.ref
scilab/modules/optimization/tests/unit_tests/optimbase/optimbase_newdestroy.linux.dia.ref
scilab/modules/optimization/tests/unit_tests/optimbase/optimbase_newdestroy.tst
scilab/modules/optimization/tests/unit_tests/optimbase/optimbase_proj2bnds.dia.ref
scilab/modules/optimization/tests/unit_tests/optimbase/optimbase_proj2bnds.linux.dia.ref
scilab/modules/optimization/tests/unit_tests/optimbase/optimbase_proj2bnds.tst
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_axes.dia.ref
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_axes.tst
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_center.dia.ref
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_center.tst
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_check.dia.ref
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_check.tst
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_computefv.dia.ref
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_computefv.tst
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_deltafv.dia.ref
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_deltafv.tst
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_deltafvmax.dia.ref
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_deltafvmax.tst
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_dirmat.dia.ref
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_dirmat.tst
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_fvmean.dia.ref
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_fvmean.tst
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_fvstdev.dia.ref
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_fvstdev.tst
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_fvvariance.dia.ref
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_fvvariance.tst
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_getset.dia.ref
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_getset.linux.dia.ref
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_getset.tst
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_gradientfv.dia.ref
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_gradientfv.tst
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_new.dia.ref
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_new.linux.dia.ref [new file with mode: 0644]
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_new.tst
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_oriented.dia.ref
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_oriented.tst
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_pfeffer.dia.ref
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_pfeffer.tst
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_randbounds.dia.ref
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_randbounds.tst
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_reflect.dia.ref
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_reflect.tst
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_shrink.dia.ref
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_shrink.tst
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_size.dia.ref
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_size.tst
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_sort.dia.ref
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_sort.tst
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_spendley.dia.ref
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_spendley.tst
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_tostring.linux.dia.ref
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_tostring.tst
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_tostring.win.dia.ref
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_xbar.dia.ref
scilab/modules/optimization/tests/unit_tests/optimsimplex/optimsimplex_xbar.tst
scilab/modules/polynomials/tests/nonreg_tests/bug_415.dia.ref
scilab/modules/polynomials/tests/nonreg_tests/bug_415.tst
scilab/modules/randlib/tests/nonreg_tests/bug_4839.dia.ref
scilab/modules/randlib/tests/nonreg_tests/bug_4839.tst
scilab/modules/randlib/tests/unit_tests/grand_generators.dia.ref
scilab/modules/randlib/tests/unit_tests/grand_generators.tst
scilab/modules/randlib/tests/unit_tests/grand_laws.dia.ref
scilab/modules/randlib/tests/unit_tests/grand_laws.tst
scilab/modules/randlib/tests/unit_tests/grand_prm.dia.ref
scilab/modules/randlib/tests/unit_tests/grand_prm.tst
scilab/modules/simulated_annealing/tests/unit_tests/optim_sa.dia.ref
scilab/modules/simulated_annealing/tests/unit_tests/optim_sa.tst
scilab/modules/sparse/tests/unit_tests/adj2sp.dia.ref
scilab/modules/sparse/tests/unit_tests/adj2sp.tst
scilab/modules/sparse/tests/unit_tests/pcg.dia.ref
scilab/modules/sparse/tests/unit_tests/pcg.tst
scilab/modules/sparse/tests/unit_tests/sp2adj.dia.ref
scilab/modules/sparse/tests/unit_tests/sp2adj.tst
scilab/modules/sparse/tests/unit_tests/sprand.dia.ref
scilab/modules/sparse/tests/unit_tests/sprand.tst
scilab/modules/statistics/tests/nonreg_tests/bug_7377.dia.ref
scilab/modules/statistics/tests/nonreg_tests/bug_7377.tst
scilab/modules/statistics/tests/nonreg_tests/bug_8032.dia.ref
scilab/modules/statistics/tests/nonreg_tests/bug_8032.tst
scilab/modules/statistics/tests/unit_tests/cdfgam.dia.ref
scilab/modules/statistics/tests/unit_tests/cdfgam.tst
scilab/modules/statistics/tests/unit_tests/cdfnor.dia.ref
scilab/modules/statistics/tests/unit_tests/cdfnor.tst
scilab/modules/statistics/tests/unit_tests/cdfpoi.dia.ref
scilab/modules/statistics/tests/unit_tests/cdfpoi.tst
scilab/modules/statistics/tests/unit_tests/thrownan.dia.ref
scilab/modules/statistics/tests/unit_tests/thrownan.tst