def test_set_position(self): object = Object((10, 10), 33, 11) object.set_position((1, 1)) self.assertEqual(object.position(), (1, 1))
def test_object_position(self): object = Object((0, 22), 10, 20) self.assertEqual(object.position(), (0, 22))