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

UnitTest

See also

TestError | UnitTest