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:
nikhil-mewar
2026-09-21 18:50:09 +02:00
committed by GitHub
co-authored by nikhil.mewar@valiancesolutions.com <nikhil.mewar@valiancesolutions.com> Christian Clauss
parent 302dd93deb
commit 612f5188e3
2 changed files with 18 additions and 1 deletions
+1
View File
@@ -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__,
)