fibonacci
is a function.
testString: assert(typeof fibonacci === 'function', 'fibonacci
is a function.');
- text: fibonacci(2)
should return a number.
testString: assert(typeof fibonacci(2) == 'number', 'fibonacci(2)
should return a number.');
- text: fibonacci(3)
should return 1.
testString: assert.equal(fibonacci(3),1,"fibonacci(3)
should return 1.");
- text: fibonacci(5)
should return 3.
testString: assert.equal(fibonacci(5),3,"fibonacci(5)
should return 3.");
- text: fibonacci(10)
should return 34.
testString: assert.equal(fibonacci(10),34,"fibonacci(10)
should return 34.");
```