Cody

Solution 1932921

Submitted on 12 Sep 2019
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   Pass
assessFunctionAbsence({'regexp', 'regexpi', 'str2num'},'FileName','div_tri_n.m')

2   Fail
assert(isequal(div_tri_n(2),6))

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

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

3   Fail
assert(isequal(div_tri_n(4),28))

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

Output argument "ans" (and maybe others) not assigned during call to "div_tri_n". Error in Test3 (line 1) assert(isequal(div_tri_n(4),28))

4   Fail
assert(isequal(div_tri_n(8),36))

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

Output argument "ans" (and maybe others) not assigned during call to "div_tri_n". Error in Test4 (line 1) assert(isequal(div_tri_n(8),36))

5   Fail
assert(isequal(div_tri_n(10),120))

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

Output argument "ans" (and maybe others) not assigned during call to "div_tri_n". Error in Test5 (line 1) assert(isequal(div_tri_n(10),120))

6   Fail
assert(isequal(div_tri_n(20),630))

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

Output argument "ans" (and maybe others) not assigned during call to "div_tri_n". Error in Test6 (line 1) assert(isequal(div_tri_n(20),630))

7   Fail
assert(isequal(div_tri_n(25),2016))

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

Output argument "ans" (and maybe others) not assigned during call to "div_tri_n". Error in Test7 (line 1) assert(isequal(div_tri_n(25),2016))

8   Fail
assert(isequal(div_tri_n(39),3240))

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

Output argument "ans" (and maybe others) not assigned during call to "div_tri_n". Error in Test8 (line 1) assert(isequal(div_tri_n(39),3240))

9   Fail
assert(isequal(div_tri_n(40),5460))

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

Output argument "ans" (and maybe others) not assigned during call to "div_tri_n". Error in Test9 (line 1) assert(isequal(div_tri_n(40),5460))

10   Fail
assert(isequal(div_tri_n(50),25200))

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

Output argument "ans" (and maybe others) not assigned during call to "div_tri_n". Error in Test10 (line 1) assert(isequal(div_tri_n(50),25200))

11   Fail
assert(isequal(div_tri_n(70),25200))

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

Output argument "ans" (and maybe others) not assigned during call to "div_tri_n". Error in Test11 (line 1) assert(isequal(div_tri_n(70),25200))

12   Fail
assert(isequal(div_tri_n(80),25200))

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

Output argument "ans" (and maybe others) not assigned during call to "div_tri_n". Error in Test12 (line 1) assert(isequal(div_tri_n(80),25200))

13   Fail
assert(isequal(div_tri_n(100),73920))

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

Output argument "ans" (and maybe others) not assigned during call to "div_tri_n". Error in Test13 (line 1) assert(isequal(div_tri_n(100),73920))

14   Fail
assert(isequal(div_tri_n(115),157080))

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

Output argument "ans" (and maybe others) not assigned during call to "div_tri_n". Error in Test14 (line 1) assert(isequal(div_tri_n(115),157080))

15   Fail
assert(isequal(div_tri_n(120),157080))

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

Output argument "ans" (and maybe others) not assigned during call to "div_tri_n". Error in Test15 (line 1) assert(isequal(div_tri_n(120),157080))

16   Fail
assert(isequal(div_tri_n(130),437580))

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

Output argument "ans" (and maybe others) not assigned during call to "div_tri_n". Error in Test16 (line 1) assert(isequal(div_tri_n(130),437580))