Cody

Solution 2255233

Submitted on 5 May 2020 by Chi Zhang
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 = 1; y = 1; assert(~are_fangs(x,y))

tf = logical 0

2   Pass
x = 21; y = 60; assert(are_fangs(x,y))

tf = logical 1

3   Pass
x = randi(9,1); y = randi([10 99],1); assert(~are_fangs(x,y))

tf = logical 0

4   Pass
x = 15; y = 93; assert(are_fangs(x,y))

tf = logical 1

5   Pass
x = randi(9,1)*10; y = randi(9,1)*10; assert(~are_fangs(x,y))

tf = logical 0

6   Pass
x = 2; y = 50006; assert(~are_fangs(x,y))

tf = logical 0

7   Pass
x = 150; y=930; assert(~are_fangs(x,y))

tf = logical 0

8   Pass
x = 300; y = 501; assert(are_fangs(x,y))

tf = logical 1