Editing Add BIST tests for octave functions written in C++
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 6: | Line 6: | ||
# Basic functionality | # Basic functionality | ||
* Does it work for all different combinations of number of inputs and number of outputs | |||
* Does it work for all expected input classes (matrices, strings, logicals, cell arrays, structs?) | |||
# Corner Case functionality | # Corner Case functionality | ||
* Does it work for corner cases (empty matrices, Inf or NaN, etc.) | |||
* Tests for specific bugs that have been reported on the bug tracker | |||
# Input validation | # Input validation | ||
* Does it correctly generate errors or warnings for bad inputs | |||
==== Example 1 : Simple Function (rows() from data.cc) ==== | ==== Example 1 : Simple Function (rows() from data.cc) ==== |