Cody

Solution 2158595

Submitted on 13 Mar 2020
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Fail
assert(isequal(unique_dice(2,6),21))

[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In unique_dice (line 2) In ScoringEngineTestPoint1 (line 1) In solutionTest (line 3)]

Output argument "ans" (and maybe others) not assigned during call to "unique_dice". Error in Test1 (line 1) assert(isequal(unique_dice(2,6),21))

2   Fail
assert(isequal(unique_dice(6,8),1716))

[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In unique_dice (line 2) In ScoringEngineTestPoint2 (line 1) In solutionTest (line 5)]

Output argument "ans" (and maybe others) not assigned during call to "unique_dice". Error in Test2 (line 1) assert(isequal(unique_dice(6,8),1716))

3   Fail
assert(isequal(unique_dice(10,12),352716))

[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In unique_dice (line 2) In ScoringEngineTestPoint3 (line 1) In solutionTest (line 7)]

Output argument "ans" (and maybe others) not assigned during call to "unique_dice". Error in Test3 (line 1) assert(isequal(unique_dice(10,12),352716))

4   Fail
assert(isequal(unique_dice(20,20),68923264410))

[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In unique_dice (line 2) In ScoringEngineTestPoint4 (line 1) In solutionTest (line 9)]

Output argument "ans" (and maybe others) not assigned during call to "unique_dice". Error in Test4 (line 1) assert(isequal(unique_dice(20,20),68923264410))

5   Fail
assert(isequal(unique_dice(4,100),4421275))

[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In unique_dice (line 2) In ScoringEngineTestPoint5 (line 1) In solutionTest (line 11)]

Output argument "ans" (and maybe others) not assigned during call to "unique_dice". Error in Test5 (line 1) assert(isequal(unique_dice(4,100),4421275))

6   Fail
assert(isequal(unique_dice(100,4),176851))

[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In unique_dice (line 2) In ScoringEngineTestPoint6 (line 1) In solutionTest (line 13)]

Output argument "ans" (and maybe others) not assigned during call to "unique_dice". Error in Test6 (line 1) assert(isequal(unique_dice(100,4),176851))

7   Fail
x=ceil(10000*rand); assert(isequal(unique_dice(1,x),x))

[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In unique_dice (line 2) In ScoringEngineTestPoint7 (line 2) In solutionTest (line 15)]

Output argument "ans" (and maybe others) not assigned during call to "unique_dice". Error in Test7 (line 2) assert(isequal(unique_dice(1,x),x))