Cody

Solution 1904068

Submitted on 18 Aug 2019 at 18:51
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(times2(1),2));

Out of memory. The likely cause is an infinite recursion within the program. Error in times2 (line 8) assert(isequal(times2(4),8))

2   Fail
assert(isequal(times2(11),22));

Out of memory. The likely cause is an infinite recursion within the program. Error in times2 (line 8) assert(isequal(times2(4),8))

3   Fail
assert(isequal(times2(-3),-6));

Out of memory. The likely cause is an infinite recursion within the program. Error in times2 (line 8) assert(isequal(times2(4),8))

4   Fail
assert(isequal(times2(29),58));

Out of memory. The likely cause is an infinite recursion within the program. Error in times2 (line 8) assert(isequal(times2(4),8))