Esempio n. 1
0
 public void GivenAClass_ClassFeatsAreReturned(string chosenClass, int level, int expected)
 {
     Feats feats = new Feats();
     int actual = feats.ClassFeatCalculate(chosenClass, level);
     Assert.AreEqual(expected, actual);
 }
Esempio n. 2
0
 public void CalculateFeats()
 {
     Feats feat = new Feats();
     PlayerClass.ClassBonusFeats = feat.ClassFeatCalculate(PlayerClass.ChosenClass, PlayerClass.PlayerLevel);
     TotalFeats = Race.RaceBonusFeats + feat.FeatCalculate(PlayerClass.PlayerLevel);
 }