Test  Status  Code Input and Output 

1  Pass 
x = 1;
y1 = fifth_times_a_charm(x);
assert(~isequal(y1,x))
y2 = fifth_times_a_charm(x);
assert(~isequal(y2,x))
assert(abs(xy2)<abs(xy1))
y3 = fifth_times_a_charm(x);
assert(~isequal(y3,x))
assert(abs(xy3)<abs(xy2))
y4 = fifth_times_a_charm(x);
assert(~isequal(y4,x))
assert(abs(xy4)<abs(xy3))
y5 = fifth_times_a_charm(x);
assert(isequal(y5,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 unix (line 32)
In fifth_times_a_charm (line 2)
In ScoringEngineTestPoint1 (line 2)
In solutionTest (line 3)]
[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 fifth_times_a_charm (line 2)
In ScoringEngineTestPoint1 (line 5)
In solutionTest (line 3)]
[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 fifth_times_a_charm (line 2)
In ScoringEngineTestPoint1 (line 9)
In solutionTest (line 3)]
[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 fifth_times_a_charm (line 2)
In ScoringEngineTestPoint1 (line 13)
In solutionTest (line 3)]
[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 fifth_times_a_charm (line 2)
In ScoringEngineTestPoint1 (line 17)
In solutionTest (line 3)]

2  Pass 
x = 1;
y1 = fifth_times_a_charm(x);
assert(~isequal(y1,x))
y2 = fifth_times_a_charm(x);
assert(~isequal(y2,x))
assert(abs(xy2)<abs(xy1))
y3 = fifth_times_a_charm(x);
assert(~isequal(y3,x))
assert(abs(xy3)<abs(xy2))
y4 = fifth_times_a_charm(x);
assert(~isequal(y4,x))
assert(abs(xy4)<abs(xy3))
y5 = fifth_times_a_charm(x);
assert(isequal(y5,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 unix (line 32)
In fifth_times_a_charm (line 2)
In ScoringEngineTestPoint2 (line 2)
In solutionTest (line 5)]
[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 fifth_times_a_charm (line 2)
In ScoringEngineTestPoint2 (line 5)
In solutionTest (line 5)]
[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 fifth_times_a_charm (line 2)
In ScoringEngineTestPoint2 (line 9)
In solutionTest (line 5)]
[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 fifth_times_a_charm (line 2)
In ScoringEngineTestPoint2 (line 13)
In solutionTest (line 5)]
[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 fifth_times_a_charm (line 2)
In ScoringEngineTestPoint2 (line 17)
In solutionTest (line 5)]

3  Pass 
x = 42;
y1 = fifth_times_a_charm(x);
assert(~isequal(y1,x))
y2 = fifth_times_a_charm(x);
assert(~isequal(y2,x))
assert(abs(xy2)<abs(xy1))
y3 = fifth_times_a_charm(x);
assert(~isequal(y3,x))
assert(abs(xy3)<abs(xy2))
y4 = fifth_times_a_charm(x);
assert(~isequal(y4,x))
assert(abs(xy4)<abs(xy3))
y5 = fifth_times_a_charm(x);
assert(isequal(y5,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 unix (line 32)
In fifth_times_a_charm (line 2)
In ScoringEngineTestPoint3 (line 2)
In solutionTest (line 7)]
[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 fifth_times_a_charm (line 2)
In ScoringEngineTestPoint3 (line 5)
In solutionTest (line 7)]
[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 fifth_times_a_charm (line 2)
In ScoringEngineTestPoint3 (line 9)
In solutionTest (line 7)]
[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 fifth_times_a_charm (line 2)
In ScoringEngineTestPoint3 (line 13)
In solutionTest (line 7)]
[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 fifth_times_a_charm (line 2)
In ScoringEngineTestPoint3 (line 17)
In solutionTest (line 7)]

4  Pass 
x = i;
y1 = fifth_times_a_charm(x);
assert(~isequal(y1,x))
y2 = fifth_times_a_charm(x);
assert(~isequal(y2,x))
assert(abs(xy2)<abs(xy1))
y3 = fifth_times_a_charm(x);
assert(~isequal(y3,x))
assert(abs(xy3)<abs(xy2))
y4 = fifth_times_a_charm(x);
assert(~isequal(y4,x))
assert(abs(xy4)<abs(xy3))
y5 = fifth_times_a_charm(x);
assert(isequal(y5,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 unix (line 32)
In fifth_times_a_charm (line 2)
In ScoringEngineTestPoint4 (line 2)
In solutionTest (line 9)]
[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 fifth_times_a_charm (line 2)
In ScoringEngineTestPoint4 (line 5)
In solutionTest (line 9)]
[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 fifth_times_a_charm (line 2)
In ScoringEngineTestPoint4 (line 9)
In solutionTest (line 9)]
[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 fifth_times_a_charm (line 2)
In ScoringEngineTestPoint4 (line 13)
In solutionTest (line 9)]
[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 fifth_times_a_charm (line 2)
In ScoringEngineTestPoint4 (line 17)
In solutionTest (line 9)]

Back to basics 3  Temp Directory
272 Solvers
256 Solvers
Return unique values without sorting
441 Solvers
280 Solvers
Sum of odd numbers in a matrix
204 Solvers