def test_dont_lose_if_touching_a_ghost_with_a_power_pellet_active(self): self.assertIs( lose(True, True), False, msg="don't lose if touching a ghost with a power pellet active")
def test_dont_lose_if_not_touching_a_ghost(self): self.assertIs(lose(True, False), False, msg="don't lose if not touching a ghost")
def test_lose_if_touching_a_ghost_without_a_power_pellet_active(self): self.assertIs( lose(False, True), True, msg="lose if touching a ghost without a power pellet active")