From 5f32cb2c0c92907039ba3be3ba8360d3c61b1ad0 Mon Sep 17 00:00:00 2001 From: itzpr3d4t0r <103119829+itzpr3d4t0r@users.noreply.github.com> Date: Thu, 23 May 2024 23:41:43 +0200 Subject: [PATCH] fix format --- test/geometry_test.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/test/geometry_test.py b/test/geometry_test.py index 6e6eb39cea..b69b316908 100644 --- a/test/geometry_test.py +++ b/test/geometry_test.py @@ -307,7 +307,7 @@ def test_area_update(self): self.assertEqual(c.area, math.pi * 4) c.r_sqr = 100 - self.assertEqual(c.area, math.pi * (10 ** 2)) + self.assertEqual(c.area, math.pi * (10**2)) def test_area_invalid_value(self): """Ensures the area handles invalid values correctly.""" @@ -1175,8 +1175,13 @@ def test_contains_argnum(self): def test_contains_return_type(self): """Tests if the function returns the correct type""" c = Circle(10, 10, 4) - items = [Circle(3, 4, 15), (0, 0), Vector2(0, 0), Rect(0, 0, 10, 10), - FRect(0, 0, 10, 10)] + items = [ + Circle(3, 4, 15), + (0, 0), + Vector2(0, 0), + Rect(0, 0, 10, 10), + FRect(0, 0, 10, 10), + ] for item in items: self.assertIsInstance(c.contains(item), bool)