https://github.com/cvigueras/fibonacci-kata
It is an infinite sequence of natural numbers in TDD.
https://github.com/cvigueras/fibonacci-kata
csharp tdd tdd-kata testing
Last synced: about 1 year ago
JSON representation
It is an infinite sequence of natural numbers in TDD.
- Host: GitHub
- URL: https://github.com/cvigueras/fibonacci-kata
- Owner: cvigueras
- License: mit
- Created: 2023-03-30T09:17:28.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-27T09:55:29.000Z (about 3 years ago)
- Last Synced: 2025-02-23T21:44:38.128Z (over 1 year ago)
- Topics: csharp, tdd, tdd-kata, testing
- Language: C#
- Homepage:
- Size: 18.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fibonacci-kata
It is an infinite sequence of natural numbers
* Fibonacci sequence is defined as:
* fib(0) = 0
* fib(1) = 1
* fib(n) = fib(n-1) + fib(n-2) for n>=2
Write a function to generate the Fibonacci number for the nth position.
Example: int Fibonacci(int n)
The first Fibonacci numbers in the sequence are: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34.