Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
[g f t] = filltime(0.25, 0.1, 2);
assert(isequal([g f t],[3 3 10]))
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In filltime (line 2)
In ScoringEngineTestPoint1 (line 1)
In solutionTest (line 3)]
|
2 | Pass |
[g f t] = filltime(0.45, 0.3, 6);
assert(isequal([g f t],[21 15 69]))
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In filltime (line 2)
In ScoringEngineTestPoint2 (line 1)
In solutionTest (line 5)]
|
3 | Pass |
[g f t] = filltime(3, 0.8, 7);
assert(isequal([g f t],[28 18 240]))
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In filltime (line 2)
In ScoringEngineTestPoint3 (line 1)
In solutionTest (line 7)]
|
4 | Pass |
[g f t] = filltime(2, 8, 47);
assert(isequal([g f t],[1128 138 811]))
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In filltime (line 2)
In ScoringEngineTestPoint4 (line 1)
In solutionTest (line 9)]
|
1163 Solvers
First non-zero element in each column
593 Solvers
Find perfect placement of non-rotating dominoes (easier)
240 Solvers
695 Solvers
Magic is simple (for beginners)
2750 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!