mirror of
https://github.com/TheAlgorithms/Python.git
synced 2026-09-29 17:08:49 +08:00
sorts: make strand sort work with comparable types (#15350)
* sorts: make strand sort work with comparable types * Add type parameter to strand_sort function * Add strand_sort to sorting tests --------- Co-authored-by: nikhil.mewar@valiancesolutions.com <nikhil.mewar@valiancesolutions.com> Co-authored-by: Christian Clauss <cclauss@me.com>
This commit is contained in:
co-authored by
nikhil.mewar@valiancesolutions.com <nikhil.mewar@valiancesolutions.com>
Christian Clauss
parent
302dd93deb
commit
612f5188e3
@@ -142,6 +142,7 @@ def test_rec_insertion_sort(case) -> None:
|
||||
pancake_sort,
|
||||
selection_sort,
|
||||
shrink_shell_sort,
|
||||
strand_sort,
|
||||
],
|
||||
ids=lambda f: f.__name__,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user