TestEqual

Unit test for array equality to a certain number of decimal places.

Back to Simple Unit Testing Toolbox Documentation.

Contents

Constructor

unit_test = TestEqual(X1,X2,name)
unit_test = TestEqual(X1,X2,name,n)

Variable Description Format
X1 double array #1 double array
X2 double array #2 double array
name test name char array
n (OPTIONAL) decimal places of precision (defaults to 16) 1×1
double

Superclass

UnitTest

See also

TestNotEqual | UnitTest