Skip to content

Commit

Permalink
Fibonacci Streaming
Browse files Browse the repository at this point in the history
  • Loading branch information
ikostan committed Dec 9, 2024
1 parent 9c5cdeb commit f6f7cc9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
1 change: 1 addition & 0 deletions kyu_5/fibonacci_streaming/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"""Fibonacci Streaming."""
5 changes: 4 additions & 1 deletion kyu_5/fibonacci_streaming/all_fibonacci_numbers.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
"""
Solution for -> Fibonacci Streaming
Solution for -> Fibonacci Streaming.
Created by Egor Kostan.
GitHub: https://github.com/ikostan
"""


def all_fibonacci_numbers():
"""
All Fibonacci numbers.
A utility method that generates an infinite sized,
sequential IntStream (in Python generator) which
contains all the numbers in a fibonacci sequence.
Expand Down
9 changes: 4 additions & 5 deletions kyu_5/fibonacci_streaming/test_all_fibonacci_numbers.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""
Test for -> Fibonacci Streaming
Test for -> Fibonacci Streaming.
Created by Egor Kostan.
GitHub: https://github.com/ikostan
"""
Expand Down Expand Up @@ -27,13 +28,11 @@
name='Source/Kata')
# pylint: enable-msg=R0801
class AllFibonacciNumbersTestCase(unittest.TestCase):
"""
Testing all_fibonacci_numbers function
"""
"""Testing all_fibonacci_numbers function."""

def test_all_fibonacci_numbers(self):
"""
Testing all_fibonacci_numbers function
Testing all_fibonacci_numbers function.
You're going to provide a needy programmer a
utility method that generates an infinite sized,
Expand Down

0 comments on commit f6f7cc9

Please sign in to comment.