def test_weapon_proficiency_maul(self): f = Player('Bob', [10, 10, 17, 17, 17, 17], Human(), Rogue()) self.assertFalse(f.is_weapon_proficient(weapons[WeaponId.MAUL]))
def test_weapon_proficiency_heavy_crossbow(self): f = Player('Bob', [10, 10, 17, 17, 17, 17], Human(), Rogue()) self.assertFalse(f.is_weapon_proficient(weapons[WeaponId.HEAVY_CROSSBOW]))
def test_weapon_proficiency_longsword(self): f = Player('Bob', [10, 10, 17, 17, 17, 17], Human(), Rogue()) self.assertTrue(f.is_weapon_proficient(weapons[WeaponId.LONGSWORD]))
def test_weapon_proficiency_club(self): f = Player('Bob', [10, 10, 17, 17, 17, 17], Human(), Rogue()) self.assertTrue(f.is_weapon_proficient(weapons[WeaponId.CLUB]))
def test_weapon_proficiency(self): f = Player('Bob', [10, 10, 17, 17, 17, 17], Human(), Fighter()) self.assertTrue(f.is_weapon_proficient(weapons[WeaponId.LONGSWORD]))