Cody

Solution 1795244

Submitted on 22 Apr 2019
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Fail
toolbox = 'MATLAB'; version = '7.13' assert(isequal(verlessthan(toolbox,version),verLessThan(toolbox,version)))

version = '7.13'

Assertion failed.

2   Fail
toolbox = 'MATLAB'; version = '8.13' assert(isequal(verlessthan(toolbox,version),verLessThan(toolbox,version)))

version = '8.13'

Assertion failed.

3   Fail
toolbox = 'Simulink'; version = '8.13' assert(isequal(verlessthan(toolbox,version),verLessThan(toolbox,version)))

version = '8.13'

Error using verLessThan (line 41) Toolbox 'Simulink' not found. Error in Test3 (line 3) assert(isequal(verlessthan(toolbox,version),verLessThan(toolbox,version)))