Exemplo n.º 1
0
        public void TestThatCharacterHasCorrectInitialAttributeStrength()
        {
            int[] attributes = new int[3] { 10, 10, 10 };

            var target = new Character("Bob", null, 10, 10, 10, new Item(), "Warrior");
            int[] targetAttribute = target.GetCharacterInitialAttributes();
            Assert.AreEqual(targetAttribute[0], attributes[0]);
        }
Exemplo n.º 2
0
 public void TestThatCharacterHasCorrectInitialAttributeArray()
 {
     int[] attributes = new int[3] { 10, 10, 10 };
     var target = new Character("Bob", null, 10, 10, 10, new Item(), "Warrior");
     Assert.AreEqual(target.GetCharacterInitialAttributes(), attributes);
 }