Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = '1';
r_correct = 1;
c_correct = 1;
[r,c] = qwerty_coord(x);
assert(isequal(r,r_correct) && isequal(c,c_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 qwerty_coord (line 2)
In ScoringEngineTestPoint1 (line 4)
In solutionTest (line 3)]
|
2 | Pass |
x = 'g';
r_correct = 3;
c_correct = 5;
[r,c] = qwerty_coord(x);
assert(isequal(r,r_correct) && isequal(c,c_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 qwerty_coord (line 2)
In ScoringEngineTestPoint2 (line 4)
In solutionTest (line 5)]
|
3 | Pass |
x = 'm';
r_correct = 4;
c_correct = 7;
[r,c] = qwerty_coord(x);
assert(isequal(r,r_correct) && isequal(c,c_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 qwerty_coord (line 2)
In ScoringEngineTestPoint3 (line 4)
In solutionTest (line 7)]
|
4 | Pass |
x = '5';
r_correct = 1;
c_correct = 5;
[r,c] = qwerty_coord(x);
assert(isequal(r,r_correct) && isequal(c,c_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 qwerty_coord (line 2)
In ScoringEngineTestPoint4 (line 4)
In solutionTest (line 9)]
|
Find common elements in matrix rows
811 Solvers
231 Solvers
Back to basics 18 - justification
150 Solvers
379 Solvers
328 Solvers