Cody

# Problem 149. Is my wife right?

Solution 329932

Submitted on 7 Oct 2013 by 213
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
%% x = 'But I''m actually right this time'; y_correct = 'yes'; assert(isequal(wiferight(x),y_correct))

[Warning: This concatenation operation includes an empty array with an incorrect number of columns. Concatenation including empty arrays will require all arrays to have the same number of columns in a future release.] [> In wiferight at 4 In verifyCode>evaluateCode at 231 In verifyCode at 40 In fevalJSON at 14] x = 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

2   Pass
%% x = 'But you just said that 2+2=3'; y_correct = 'yes'; assert(isequal(wiferight(x),y_correct))

[Warning: This concatenation operation includes an empty array with an incorrect number of columns. Concatenation including empty arrays will require all arrays to have the same number of columns in a future release.] [> In wiferight at 4 In verifyCode>evaluateCode at 231 In verifyCode at 40 In fevalJSON at 14] x = 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1