コード例 #1
0
        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);
        }
コード例 #2
0
 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);
 }