Cody

Solution 2118076

Submitted on 5 Feb 2020
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
x = 1; y = 2; z_correct = 3; assert(isequal(sumTwo(x,y),z_correct));

Undefined function 'sumTwo' for input arguments of type 'double'. Error in Test1 (line 3) assert(isequal(sumTwo(x,y),z_correct));

2   Fail
x = -21; y = 32; z_correct = 11; assert(isequal(sumTwo(x,y),z_correct));

Undefined function 'sumTwo' for input arguments of type 'double'. Error in Test2 (line 3) assert(isequal(sumTwo(x,y),z_correct));

3   Fail
x = randi(100); y = randi(100); z_correct = sqrt(x^2 + y^2 + 2*x*y); assert(isequal(sumTwo(x,y),z_correct));

Undefined function 'sumTwo' for input arguments of type 'double'. Error in Test3 (line 3) assert(isequal(sumTwo(x,y),z_correct));