Exemple #1
0
        public void ReturnsAdjustedBaseAttackBonusForExtraAttacks(int baseAttackBonus, int attack, int expectedBonus)
        {
            var bab = new BaseAttackBonus();

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

            baseAttack.SetValue(baseAttackValue);
            Assert.Equal(attacks, baseAttack.NumberOfAttacks);
        }