def test_pygame2_base_Rect_bottomleft(self): # __doc__ (as of 2008-10-17) for pygame2.base.Rect.bottomleft: # Gets or sets the bottom left corner position of the Rect. r = Rect( 1, 2, 3, 4 ) new_bottomleft = (r.left+20,r.bottom+30) expected_topleft = (r.left+20,r.top+30) old_size = r.size r.bottomleft = new_bottomleft self.assertEqual( new_bottomleft, r.bottomleft ) self.assertEqual( expected_topleft, r.topleft ) self.assertEqual( old_size, r.size )