示例#1
0
 def teste_status(self):
     obstacle = Obstacle()
     self.assertEqual('O', obstacle.character())
     actor_on_same_position = Actor()
     obstacle.clash(actor_on_same_position)
     self.assertEqual(' ', obstacle.character())
示例#2
0
 def teste_status(self):
     obstaculo = Obstacle()
     self.assertEqual('O', obstaculo.character())
     outro_ator_na_mesma_posicao = Actor()
     obstaculo.clash(outro_ator_na_mesma_posicao)
     self.assertEqual(' ', obstaculo.character())