Cody

Solution 1981845

Submitted on 18 Oct 2019
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   Fail
assert(isequal(Is_Triangle(3,4,6),true))

flag = logical 0 a = 3 4 6

Assertion failed.

2   Fail
assert(isequal(Is_Triangle(6,4,3),true))

flag = logical 0 a = 6 4 3

Assertion failed.

3   Pass
assert(isequal(Is_Triangle(3,7,4),false))

flag = logical 0 a = 3 7 4

4   Pass
assert(isequal(Is_Triangle(4,3,7),false))

flag = logical 0 a = 4 3 7

5   Fail
assert(isequal(Is_Triangle(3,3,4),true))

flag = logical 0 a = 3 3 4

Assertion failed.