public void ReturnsAdjustedBaseAttackBonusForExtraAttacks(int baseAttackBonus, int attack, int expectedBonus) { var bab = new BaseAttackBonus(); bab.SetValue(baseAttackBonus); Assert.Equal(expectedBonus, bab.GetAttackBonus(attack)); }
public void IfBaseAttackBonusIsGreaterThanSixGrantAnExtraAttack(int baseAttackValue, int attacks) { var baseAttack = new BaseAttackBonus(); baseAttack.SetValue(baseAttackValue); Assert.Equal(attacks, baseAttack.NumberOfAttacks); }