MATLAB Programming Fundamentals - MathWorks

(やまだぃちぅ) #1
Totals:
1 Passed, 1 Failed, 0 Incomplete.
0.043751 seconds testing time.

The imaginary test verification failed.

Restore quadraticSolver.m to its previous, correct version by removing the roots =
real(roots); code.

See Also
matlab.unittest.constraints

More About



  • “Write Function-Based Unit Tests” on page 33-25

  • “Types of Qualifications” on page 33-60


33 Unit Testing

Free download pdf