public void GivenAWizardLevel_SpellArrayIsReturned(int level, int[] expectedSpells) { PlayerClass player = new Wizard(); player.AssignLevel(level); player.GetClassSpellsPerDay(); int[] actual = player.Magic.ClassSpellsPerDay; Assert.AreEqual(expectedSpells, actual); }
public void BaseAttackIsReturned() { //Arrange Wizard player = new Wizard(); player.AssignBaseStats(10, 10, 10, 10, 10, 10); player.AssignMiscMods(0, 0, 0, 0, 0, 0); player.AssignLevel(1); //Act player.CalculateBaseAttack(); int actual = player.Attack.BaseAttack; int expected = 0; Assert.AreEqual(expected, actual); }