From d9c4f4a54a03cf697f78bbf7ddaf53f3e0f4cc08 Mon Sep 17 00:00:00 2001 From: Chris Proctor Date: Thu, 3 Aug 2023 17:48:43 -0400 Subject: [PATCH] Put tests in the correct order --- test_transform.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)