def test_armor_proficiency_plate(self): f = Player('Bob', [10, 10, 17, 17, 17, 17], Human(), Rogue()) self.assertTrue(f.is_armor_proficient(armors[ArmorId.LEATHER]))
def test_shield_proficiency(self): f = Player('Bob', [10, 10, 17, 17, 17, 17], Human(), Rogue()) self.assertFalse(f.is_armor_proficient(armors[ArmorId.SHIELD]))
def test_armor_proficiency(self): f = Player('Bob', [10, 10, 17, 17, 17, 17], Human(), Fighter()) self.assertTrue(f.is_armor_proficient(armors[ArmorId.BREASTPLATE]))