Cody

Solution 2057174

Submitted on 13 Dec 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   Fail
assert(isequal(isFibonacci(2),true))

c = Map with properties: Count: 0 KeyType: int64 ValueType: any f = []

Undefined function 'fibonacci' for input arguments of type 'double'. Error in isFibonacci (line 5) f(end+1) = fibonacci(n) Error in Test1 (line 1) assert(isequal(isFibonacci(2),true))

2   Fail
assert(isequal(isFibonacci(3),true))

c = Map with properties: Count: 0 KeyType: int64 ValueType: any f = []

Undefined function 'fibonacci' for input arguments of type 'double'. Error in isFibonacci (line 5) f(end+1) = fibonacci(n) Error in Test2 (line 1) assert(isequal(isFibonacci(3),true))

3   Fail
assert(isequal(isFibonacci(5),true))

c = Map with properties: Count: 0 KeyType: int64 ValueType: any f = []

Undefined function 'fibonacci' for input arguments of type 'double'. Error in isFibonacci (line 5) f(end+1) = fibonacci(n) Error in Test3 (line 1) assert(isequal(isFibonacci(5),true))

4   Fail
assert(isequal(isFibonacci(89),true))

c = Map with properties: Count: 0 KeyType: int64 ValueType: any f = []

Undefined function 'fibonacci' for input arguments of type 'double'. Error in isFibonacci (line 5) f(end+1) = fibonacci(n) Error in Test4 (line 1) assert(isequal(isFibonacci(89),true))

5   Fail
assert(isequal(isFibonacci(233),true))

c = Map with properties: Count: 0 KeyType: int64 ValueType: any f = []

Undefined function 'fibonacci' for input arguments of type 'double'. Error in isFibonacci (line 5) f(end+1) = fibonacci(n) Error in Test5 (line 1) assert(isequal(isFibonacci(233),true))

6   Fail
assert(isequal(isFibonacci(6765),true))

c = Map with properties: Count: 0 KeyType: int64 ValueType: any f = []

Undefined function 'fibonacci' for input arguments of type 'double'. Error in isFibonacci (line 5) f(end+1) = fibonacci(n) Error in Test6 (line 1) assert(isequal(isFibonacci(6765),true))

7   Fail
assert(isequal(isFibonacci(18),false))

c = Map with properties: Count: 0 KeyType: int64 ValueType: any f = []

Undefined function 'fibonacci' for input arguments of type 'double'. Error in isFibonacci (line 5) f(end+1) = fibonacci(n) Error in Test7 (line 1) assert(isequal(isFibonacci(18),false))

8   Fail
assert(isequal(isFibonacci(100),false))

c = Map with properties: Count: 0 KeyType: int64 ValueType: any f = []

Undefined function 'fibonacci' for input arguments of type 'double'. Error in isFibonacci (line 5) f(end+1) = fibonacci(n) Error in Test8 (line 1) assert(isequal(isFibonacci(100),false))

9   Fail
assert(isequal(isFibonacci(230),false))

c = Map with properties: Count: 0 KeyType: int64 ValueType: any f = []

Undefined function 'fibonacci' for input arguments of type 'double'. Error in isFibonacci (line 5) f(end+1) = fibonacci(n) Error in Test9 (line 1) assert(isequal(isFibonacci(230),false))

10   Fail
assert(isequal(isFibonacci(514227),false))

c = Map with properties: Count: 0 KeyType: int64 ValueType: any f = []

Undefined function 'fibonacci' for input arguments of type 'double'. Error in isFibonacci (line 5) f(end+1) = fibonacci(n) Error in Test10 (line 1) assert(isequal(isFibonacci(514227),false))