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
- TestEqual is a subclass of the UnitTest class (i.e. UnitTest is the superclass of TestEqual). See the UnitTest class's documentation for documentation of methods that the TestEqual class also possesses.