Cody

Solution 516598

Submitted on 24 Oct 2014 by James
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
%% y_correct = 1; assert(isequal(dog,y_correct))

Error: You may not use the command(s) evalin in your code

2   Pass
%% y_correct = 0; assert(isequal(dog,y_correct))

Error: You may not use the command(s) evalin in your code

3   Pass
%% y_correct = 0; assert(isequal(dog,y_correct))

Error: You may not use the command(s) evalin in your code

4   Pass
%% y_correct = true; assert(isequal(dog,y_correct))

Error: You may not use the command(s) evalin in your code

5   Pass
%% y_correct = false; assert(isequal(dog,y_correct))

Error: You may not use the command(s) evalin in your code

6   Pass
%% y_correct = 1; assert(isequal(dog,y_correct))

Error: You may not use the command(s) evalin in your code

7   Pass
%% y_correct = 42; assert(isequal(dog,y_correct))

Error: You may not use the command(s) evalin in your code

8   Pass
%% y_correct = pi; assert(isequal(dog,y_correct))

Error: You may not use the command(s) evalin in your code

9   Pass
%% y_correct = 'pie'; assert(isequal(dog,y_correct))

Error: You may not use the command(s) evalin in your code

10   Pass
%% y_correct = true; assert(isequal(dog,y_correct))

Error: You may not use the command(s) evalin in your code

11   Pass
%% y_correct = 1; assert(isequal(dog,y_correct))

Error: You may not use the command(s) evalin in your code

12   Pass
%% y_correct = 0; assert(isequal(dog,y_correct))

Error: You may not use the command(s) evalin in your code

13   Pass
%% y_correct = -1; assert(isequal(dog,y_correct))

Error: You may not use the command(s) evalin in your code

14   Pass
%% y_correct = 'woof'; assert(isequal(dog('what is your name?'),y_correct))

Error: You may not use the command(s) evalin in your code