def test_player_get_damage_alive(self):
        player = Player('Robin Hood', ARCHER)
        player.health = 20

        player.get_damage(15)

        self.assertTrue(player.is_alive())
    def test_player_get_damage_dead(self):
        player = Player('Robin Hood', ARCHER)
        player.health = 14

        player.get_damage(15)

        self.assertFalse(player.is_alive())
    def test_is_attack_avoided(self):
        player = Player('Robin Hood', ARCHER)
        player.health = 13

        player.get_damage(15)
        player.is_attack_avoided = 100