From d216cc85aeb27f3535bcad7b98d4a039d7507eed Mon Sep 17 00:00:00 2001 From: Chris Proctor Date: Sun, 30 Jul 2023 17:40:35 -0400 Subject: [PATCH] Fix float err --- test_transform.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_transform.py b/test_transform.py index 2ced4a6..8d46afe 100644 --- a/test_transform.py +++ b/test_transform.py @@ -29,6 +29,6 @@ test(ratio, [[167, 100, 200]], 0.67) test(ratio, [[8, 10, 0]], 0.2) test(ratio, [[4, 10, 20]], 0.0) test(scale, [[4, 0, 10, 0, 100]], 40) -test(scale, [[160, 120, 240, 0, 100]], 100/3) +test(scale, [[180, 120, 240, 0, 100]], 50) test(get_x_values, [[[0, 5], [1, 5], [2, 5]]], [0, 1, 2]) test(get_y_values, [[[0, 5], [1, 5], [2, 5]]], [5, 5, 5])