TestNoError
Unit test for confirming that a function does not throw an error.
Back to Simple Unit Testing Toolbox Documentation.
Contents
Constructor
unit_test = TestNoError(f,args,name) unit_test = TestNoError(f,{},name)
Variable | Description | Format |
f | function handle assigned to function you want to test | 1×1 function_handle |
args | input arguments to f (if f has no input arguments, then input args as {}) | cell array |
name | test name | char array |
Superclass
- TestNoError is a subclass of the UnitTest class (i.e. UnitTest is the superclass of TestNoError). See the UnitTest class's documentation for documentation of methods that the TestNoError class also possesses.