Cody

Solution 1734113

Submitted on 23 Feb 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   Pass
toolbox = 'MATLAB'; version = '7.13' assert(isequal(verlessthan(toolbox,version),verLessThan(toolbox,version)))

version = '7.13' [Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In unix (line 32) In verlessthan (line 3) In ScoringEngineTestPoint1 (line 3) In solutionTest (line 3)]

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

version = '8.13' [Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In unix (line 32) In verlessthan (line 3) In ScoringEngineTestPoint2 (line 3) In solutionTest (line 5)]

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

version = '8.13' [Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In unix (line 32) In verlessthan (line 3) In ScoringEngineTestPoint3 (line 3) In solutionTest (line 7)]

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