Cody

Solution 1945056

Submitted on 21 Sep 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))

ans = logical 0

Assertion failed.

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

ans = logical 0

Assertion failed.

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

ans = logical 0

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

ans = logical 1

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

ans = logical 0

Assertion failed.