def test_IsCollidingWith_6(self): a = GameObject() b = GameObject() a.pos_x = 0 a.pos_y = 0 a.half_width = 1 a.half_height = 1 b.pos_x = 1 b.pos_y = 1 b.half_width = 1 b.half_height = 1 self.assertTrue(a.IsCollidingWith(b) == 1) self.assertTrue(b.IsCollidingWith(a) == 1) pass