GH avatar Bite 238. Write tests for Fibonacci

Note this is a Test Bite and uses Python 3.7 and MutPy 0.6.1

Our first Test Bite! The concept is simple: to pass a Test Bite, you write tests for the program under the "Code to Test" tab.

We run pytest-cov and MutPy against your code to see if your tests are strong enough (if interested, check out our full feature launch write-up).

To kick this off we have you write some tests for fib which generates a Fibonacci sequence. Good luck and let us know if you have any feedback.

Login and get coding
go back Beginner level
Bitecoin 2X

215 out of 244 users completed this Bite.
Will you be Pythonista #216 to crack this Bite?
Resolution time: ~27 min. (avg. submissions of 5-240 min.)
Pythonistas rate this Bite 2.44 on a 1-10 difficulty scale.
» You can do it! 😌

We use Python 3.8