We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cf7f6c commit f267666Copy full SHA for f267666
1 file changed
sorts/quick_sort_with_tests.py
@@ -68,8 +68,12 @@ def test_quick_sorts():
68
]
69
70
for i, (input_arr, expected) in enumerate(test_cases):
71
- assert quick_sort(input_arr) == expected, f"quick_sort failed on test case {i + 1}"
72
- assert quick_sort_3way(input_arr.copy()) == expected, f"quick_sort_3way failed on test case {i + 1}"
+ assert quick_sort(input_arr) == expected, (
+ f"quick_sort failed on test case {i + 1}"
73
+ )
74
+ assert quick_sort_3way(input_arr.copy()) == expected, (
75
+ f"quick_sort_3way failed on test case {i + 1}"
76
77
78
print("All tests passed!")
79
0 commit comments