Exemplo n.º 1
0
 def test_score_when_eating_power_pellet(self):
     self.assertIs(score(True, False),
                   True,
                   msg="score when eating power pellet")
Exemplo n.º 2
0
 def test_no_score_when_nothing_eaten(self):
     self.assertIs(score(False, False),
                   False,
                   msg="no score when nothing eaten")
Exemplo n.º 3
0
 def test_score_when_eating_dot(self):
     self.assertIs(score(False, True), True, msg="score when eating dot")