Editing BIST for m-files
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 20: | Line 20: | ||
Before starting, take a look at [https://octave.org/doc/latest/Test-and-Demo-Functions.html#Test-and-Demo-Functions Appendix B Test and Demo Functions] and the [[Octave_style_guide|Octave Style Guide]] for what functions are available for testing and how to write code that conforms to Octave's coding guidelines. Another good strategy is to look for %!test, %!testif, %!xtest blocks in existing m-files and see how they were coded. | Before starting, take a look at [https://octave.org/doc/latest/Test-and-Demo-Functions.html#Test-and-Demo-Functions Appendix B Test and Demo Functions] and the [[Octave_style_guide|Octave Style Guide]] for what functions are available for testing and how to write code that conforms to Octave's coding guidelines. Another good strategy is to look for %!test, %!testif, %!xtest blocks in existing m-files and see how they were coded. | ||
== Functions lacking tests (as of | == Functions lacking tests (as of May 27, 2015) == | ||
* audio/@audioplayer/__get_properties__.m | * audio/@audioplayer/__get_properties__.m | ||
Line 94: | Line 94: | ||
* image/spring.m | * image/spring.m | ||
* image/summer.m | * image/summer.m | ||
* image/white.m | * image/white.m | ||
* image/winter.m | * image/winter.m | ||
Line 105: | Line 104: | ||
* java/javarmpath.m | * java/javarmpath.m | ||
* linear-algebra/krylov.m | * linear-algebra/krylov.m | ||
* miscellaneous/fileattrib.m | |||
* miscellaneous/mkoctfile.m | * miscellaneous/mkoctfile.m | ||
* optimization/glpk.m | * optimization/glpk.m | ||
* pkg/pkg.m | * pkg/pkg.m | ||
Line 183: | Line 182: | ||
* plot/util/struct2hdl.m | * plot/util/struct2hdl.m | ||
* plot/util/zoom.m | * plot/util/zoom.m | ||
* prefs/addpref.m | |||
* prefs/getpref.m | |||
* prefs/ispref.m | |||
* prefs/prefdir.m | |||
* prefs/preferences.m | |||
* prefs/setpref.m | |||
* signal/arch_fit.m | * signal/arch_fit.m | ||
* signal/arch_rnd.m | * signal/arch_rnd.m | ||
Line 224: | Line 229: | ||
* statistics/tests/wilcoxon_test.m | * statistics/tests/wilcoxon_test.m | ||
* statistics/tests/z_test_2.m | * statistics/tests/z_test_2.m | ||