public void TestThatCharacterHasCorrectAttributeAgilityAtNine() { int[] attributes = new int[3] { 5, 5, 9 }; var target = new Character("Bob", null, 5, 5, 9, new Item(), "Warrior"); int[] targetAttribute = target.GetCharacterAttributes(); Assert.AreEqual(targetAttribute[2], attributes[2]); }
public void TestThatCharacterHasCorrectAttributeIntelligenceAtZero() { int[] attributes = new int[3] { 5, 1, 5 }; var target = new Character("Bob", null, 5, 0, 5, new Item(), "Warrior"); int[] targetAttribute = target.GetCharacterAttributes(); Assert.AreEqual(targetAttribute[1], attributes[1]); }
public void TestThatCharacterHasCorrectAttributeStrengthAtZero() { int[] attributes = new int[3] { 1, 5, 5 }; var target = new Character("Bob", null, 0, 5, 5, new Item(), "Warrior"); int[] targetAttribute = target.GetCharacterAttributes(); Assert.AreEqual(targetAttribute[0], attributes[0]); }
public void TestThatCharacterHasCorrectAttributeArray() { int[] attributes = new int[3]{10,10,10}; var target = new Character("Bob", null,10,10,10, new Item(), "Warrior"); Assert.AreEqual(target.GetCharacterAttributes(), attributes); }