This commit is contained in:
Will McGugan
2022-07-29 10:28:50 +01:00
parent 4dfdfc8157
commit b514e9544b

View File

@@ -22,12 +22,6 @@ def test_partition():
[6, 7, 8, 9, 10],
)
assert partition(is_greater_than_five, [6, 7, 8, 9, 10]) == (
[0],
[6, 7, 8, 9, 10],
)
assert partition(is_greater_than_five, [6, 7, 8, 9, 10]) == ([], [6, 7, 8, 9, 10])
assert partition(is_greater_than_five, [1, 2, 3]) == (
[1, 2, 3],
[],
)
assert partition(is_greater_than_five, [1, 2, 3]) == ([1, 2, 3], [])