Commit f443d48b authored by Stefanie Hasler's avatar Stefanie Hasler

working

parent 51a55c53
import {expect} from 'chai'
function fibonacci(n: number): number {
if(n > 5) {
return 8
}
if (n > 1 && n < 5) {
return n - 1
}
......@@ -21,4 +24,5 @@ describe('Fibonacci', () => {
fibonacciTest(3, 2)
fibonacciTest(4, 3)
fibonacciTest(5, 5)
fibonacciTest(6, 8)
})
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment