|
1 | 1 | import { fibonacciIndex } from '../Problem025'
|
2 | 2 |
|
3 |
| -describe ('Check Problem 25 - 1000 digit Fibonnaci number', () => { |
4 |
| - it('First term of the Fibonnaci sequence containing 3 digits', () => { |
5 |
| - expect(fibonacciIndex(3)).toBe(12) |
6 |
| - }) |
| 3 | +describe('Check Problem 25 - 1000 digit Fibonnaci number', () => { |
| 4 | + it('First term of the Fibonnaci sequence containing 3 digits', () => { |
| 5 | + expect(fibonacciIndex(3)).toBe(12) |
| 6 | + }) |
7 | 7 |
|
8 |
| - it('First term of the Fibonnaci sequence containing 10 digits', () => { |
9 |
| - expect(fibonacciIndex(10)).toBe(45) |
10 |
| - }) |
| 8 | + it('First term of the Fibonnaci sequence containing 10 digits', () => { |
| 9 | + expect(fibonacciIndex(10)).toBe(45) |
| 10 | + }) |
11 | 11 |
|
12 |
| - it('First term of the Fibonnaci sequence containing 50 digits', () => { |
13 |
| - expect(fibonacciIndex(50)).toBe(237) |
14 |
| - }) |
| 12 | + it('First term of the Fibonnaci sequence containing 50 digits', () => { |
| 13 | + expect(fibonacciIndex(50)).toBe(237) |
| 14 | + }) |
15 | 15 |
|
16 |
| - it('First term of the Fibonnaci sequence containing 100 digits', () => { |
17 |
| - expect(fibonacciIndex(100)).toBe(476) |
18 |
| - }) |
| 16 | + it('First term of the Fibonnaci sequence containing 100 digits', () => { |
| 17 | + expect(fibonacciIndex(100)).toBe(476) |
| 18 | + }) |
19 | 19 |
|
20 |
| - it('First term of the Fibonnaci sequence containing 1000 digits', () => { |
21 |
| - expect(fibonacciIndex(1000)).toBe(4782) |
22 |
| - }) |
23 |
| - |
24 |
| - it('First term of the Fibonnaci sequence containing 10000 digits', () => { |
25 |
| - expect(fibonacciIndex(10000)).toBe(47847) |
26 |
| - }) |
| 20 | + it('First term of the Fibonnaci sequence containing 1000 digits', () => { |
| 21 | + expect(fibonacciIndex(1000)).toBe(4782) |
| 22 | + }) |
| 23 | + |
| 24 | + it('First term of the Fibonnaci sequence containing 10000 digits', () => { |
| 25 | + expect(fibonacciIndex(10000)).toBe(47847) |
| 26 | + }) |
27 | 27 | })
|
0 commit comments