Skip to content

Commit

Permalink
Update rect_test.py
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrieleLS authored Dec 4, 2024
1 parent 1ff6822 commit f693fd1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions test/rect_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -824,13 +824,13 @@ def test_inflate__smaller(self):
r = Rect(2, 4, 6, 8)
r2 = r.inflate(-4, -6)

self.assertEqual((5, 8), r2.center)
self.assertEqual(4, r2.left)
self.assertEqual(7, r2.top)
self.assertEqual(6, r2.right)
self.assertEqual(9, r2.bottom)
self.assertEqual(2, r2.width)
self.assertEqual(2, r2.height)
self.assertEqual((5, 8), r2.center)
self.assertEqual(4, r2.left)
self.assertEqual(7, r2.top)
self.assertEqual(6, r2.right)
self.assertEqual(9, r2.bottom)
self.assertEqual(2, r2.width)
self.assertEqual(2, r2.height)

def test_inflate_ip__larger(self):
"""Ensures inflating a rect in place keeps its center the same
Expand Down

0 comments on commit f693fd1

Please sign in to comment.