Cody

Solution 2100809

Submitted on 21 Jan 2020 by Asif Newaz
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 = [3 4 5]; y_correct = true; assert(isequal(isTriangle(x),y_correct))

a = 3 b = 4 c = 5

2   Pass
x = [1 3 5]; y_correct = false; assert(isequal(isTriangle(x),y_correct))

a = 1 b = 3 c = 5

3   Pass
x = [6 5 3]; y_correct = true; assert(isequal(isTriangle(x),y_correct))

a = 6 b = 5 c = 3

4   Pass
x = [3 3 3]; y_correct = true; assert(isequal(isTriangle(x),y_correct))

a = 3 b = 3 c = 3

5   Pass
x = [4 7 5]; y_correct = true; assert(isequal(isTriangle(x),y_correct))

a = 4 b = 7 c = 5

6   Pass
x = [5 8 3]; y_correct = false; assert(isequal(isTriangle(x),y_correct))

a = 5 b = 8 c = 3