Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 1:10;
y_correct = 3:2:19;
assert(isequal(sumEachPair(x),y_correct))
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In sumEachPair (line 2)
In ScoringEngineTestPoint1 (line 3)
In solutionTest (line 3)]
|
2 | Pass |
x = [1:100]';
y_correct = [3:2:199]';
assert(isequal(sumEachPair(x),y_correct))
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In sumEachPair (line 2)
In ScoringEngineTestPoint2 (line 3)
In solutionTest (line 5)]
|
2934 Solvers
927 Solvers
281 Solvers
1014 Solvers
363 Solvers