Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
R=1;
M=1;
W=99;
assert(tank(R,M)>W)
[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 tank (line 2)
In ScoringEngineTestPoint1 (line 4)
In solutionTest (line 3)]
|
2 | Pass |
R=2;
M=2;
W=96;
assert(tank(R,M)>W)
[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 tank (line 2)
In ScoringEngineTestPoint2 (line 4)
In solutionTest (line 5)]
|
3 | Pass |
R=10;
M=10;
W=36;
assert(tank(R,M)>W)
[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 tank (line 2)
In ScoringEngineTestPoint3 (line 4)
In solutionTest (line 7)]
|
4 | Pass |
R=15;
M=20;
W=5;
assert(tank(R,M)<W)
[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 tank (line 2)
In ScoringEngineTestPoint4 (line 4)
In solutionTest (line 9)]
|
5 | Pass |
R=7;
M=8;
W=58;
assert(tank(R,M)<W)
[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 tank (line 2)
In ScoringEngineTestPoint5 (line 4)
In solutionTest (line 11)]
|
1600 Solvers
3375 Solvers
Getting the indices from a vector
3206 Solvers
345 Solvers
Multiples of a Number in a Given Range
214 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!