public void GivenGameHasStartedWhenCharacterEquipsIronArmorThenCharactersArmorIsUnchanged() { var game = new EvercraftGame(); game.Start("Jack", "Bob"); game.EquipArmor(ArmorType.Iron, 50, game.Chars[1]); game.Chars[1].Arm.Should().Be(10); }
public void GivenGameHasStartedWhenCharacterEquipsHeavyArmorThenCharactersArmorIsIncreasedByTwo() { var game = new EvercraftGame(); game.Start("Jack", "Bob"); game.EquipArmor(ArmorType.Iron, 51, game.Chars[0]); game.Chars[0].Arm.Should().Be(12); }
public void GivenGameHasStartedWhenCharacterEquipsSteelArmorThenCharactersArmorIsIncreasedByOne() { var game = new EvercraftGame(); game.Start("Jack", "Bob"); game.EquipArmor(ArmorType.Steel, 50, game.Chars[1]); game.Chars[1].Arm.Should().Be(11); }