diff --git a/test_transform.py b/test_transform.py index 9dd49b2..4a1e7da 100644 --- a/test_transform.py +++ b/test_transform.py @@ -15,10 +15,10 @@ def test(function, arguments, expected): args = ', '.join(str(arg) for arg in arguments) print(f"Error: Expected {function}({args}) to equal {expected}, but it was {observed}") -test(maximum, [[0, 1, 2, 3]], 3) -test(maximum, [[-10, -20, -30]], -10) test(minimum, [[0, 1, 2, 3]], 0) test(minimum, [[-10, -20, -30]], -30) +test(maximum, [[0, 1, 2, 3]], 3) +test(maximum, [[-10, -20, -30]], -10) test(bounds, [[0, 1, 2, 3]], [0, 3]) test(bounds, [[-10, -20, -30]], [-30, -10]) test(clamp, [10, 0, 100], 10)