Skip to content

Commit 31362cb

Browse files
Adding test loop
1 parent abba6a0 commit 31362cb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

sorts/tests.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,8 @@
5555
tree_sort,
5656
wiggle_sort,
5757
]
58+
59+
60+
for function in TEST_FUNCTIONS:
61+
for case in TEST_CASES:
62+
assert function(case['input']) == case['expected']

0 commit comments

Comments
 (0)