Cody

Solution 1769752

Submitted on 2 Apr 2019 by Abdelfatah Teamah
  • Size: 6
  • This is the leading solution.
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
husband=certified_husband() assert(isequal(husband(),'yes'))

[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 certified_husband (line 2) In ScoringEngineTestPoint1 (line 1) In solutionTest (line 3)] husband = 0

2   Pass
husband=certified_husband() assert(length(husband)==1)

[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 certified_husband (line 2) In ScoringEngineTestPoint2 (line 1) In solutionTest (line 5)] husband = 0

3   Pass
husband=certified_husband() assert(prod(size(husband))==1)

[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 certified_husband (line 2) In ScoringEngineTestPoint3 (line 1) In solutionTest (line 7)] husband = 0

Suggested Problems

More from this Author100