Skip to content

Commit 2ede3f0

Browse files
committed
sprsort
1 parent f29fd30 commit 2ede3f0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

tests/selection_sortTest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@ def test_selection_sort(test):
1515
assert getFunction("selection_sort")([1,2,3]) == [1,2,3]
1616
assert getFunction("selection_sort")([3,2,1]) == [1,2,3]
1717
assert getFunction("selection_sort")([1,3,2,4]) == [1,2,3,4]
18-
assert getFunction("selection_sort")([]) == []
18+
assert getFunction("selection_sort")([]) == []:
19+

tests/special_sortTest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ def test_special_sort(test):
1414
"""functie `special_sort` werkt correct"""
1515
assert getFunction("special_sort")([1,2,3]) == [1,2,3]
1616
assert getFunction("special_sort")([3,2,1]) == [1,2,3]
17+
assert getFunction("special_sort")([1,3,2,4]) == [1,2,3,4]
1718
assert getFunction("special_sort")([]) == []
18-
assert getFunction("special_sort")([[1],[3],[2]]) == [[1],[2],[3]]

0 commit comments

Comments
 (0)