MATLAB Programming Fundamentals - MathWorks

(やまだぃちぅ) #1
Run All Double Precision Tests

At the command prompt, run all the test elements from TestRand.m that use the
parameter name 'double'.

runtests('TestRand','ParameterName','double');

Running TestRand
..........
..........
..........
..........
..........
..........
..........
..........
.
Done TestRand
__________

See Also
matlab.unittest.TestCase | matlab.unittest.TestSuite |
matlab.unittest.selectors

Related Examples



  • “Create Basic Parameterized Test” on page 33-82


33 Unit Testing

Free download pdf