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)]
|
5703 Solvers
Back to basics 23 - Triangular matrix
634 Solvers
Side of an equilateral triangle
2595 Solvers
2334 Solvers
Separate even from odd numbers in a vector - without loops
304 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!