Example #1
0
 def test_status(self):
     red_bird = RedBird(1, 1)
     self.assertEqual('R', red_bird.character())
     actor_on_same_position = Actor()
     red_bird.clash(actor_on_same_position)
     self.assertEqual('r', red_bird.character())
Example #2
0
 def teste_status(self):
     passaro_amarelo = RedBird(1, 1)
     self.assertEqual('R', passaro_amarelo.character())
     outro_ator_na_mesma_posicao = Actor()
     passaro_amarelo.clash(outro_ator_na_mesma_posicao)
     self.assertEqual('r', passaro_amarelo.character())