Пример #1
0
 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")
Пример #2
0
 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")
Пример #3
0
 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")