Пример #1
0
 def test_score_when_eating_power_pellet(self):
     self.assertIs(score(True, False),
                   True,
                   msg="score when eating power pellet")
Пример #2
0
 def test_no_score_when_nothing_eaten(self):
     self.assertIs(score(False, False),
                   False,
                   msg="no score when nothing eaten")
Пример #3
0
 def test_score_when_eating_dot(self):
     self.assertIs(score(False, True), True, msg="score when eating dot")