Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

earsed mention of strategy from docstring #51

Merged
merged 1 commit into from
Jan 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions solutions/sort_ascending.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
A module for sorting numbers in a list in ascending order using Bubble Sort algorithm.
A module for sorting numbers in a list of ascending order.

Module contents:
- sort_ascending: A function to sort a list of integers in ascending order.
Expand All @@ -12,7 +12,7 @@

def sort_ascending(numbers: list[int]) -> list[int]:
"""
The function takes a list of int & sorts it in ascending order using the bubble Sort strategy.
The function takes a list of int and return a new sorted list of int in ascending order.

Parameters:
Numbers (list[int]): this is the list of numbers we want to sort
Expand Down
2 changes: 1 addition & 1 deletion solutions/tests/test_sort_ascending.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@


class TestSortAscending(unittest.TestCase):
"""These unittest cases will test the sort_ascending function using bubble sort algorithm."""
"""These unittest cases will test the sort_ascending function."""

def test_empty_list(self):
"""it should return an empty list"""
Expand Down
Loading