public void RyuShouldDoCombo_WhenRLetterIsPressed(char comboKey) { //Arrange var fighterContext = new FighterContext(); fighterContext.SetStrategy(new Ryu()); //Act var sut = fighterContext.DoCombo(comboKey); //Assert sut.ShouldContain("Shoryuken"); }
public void KenShouldDoCombo_WhenKLetterIsPressed(char comboKey) { //Arrange var fighterContext = new FighterContext(); fighterContext.SetStrategy(new Ken()); //Act var sut = fighterContext.DoCombo(comboKey); //Assert sut.ShouldContain("Hadoken"); }
public void DhalsimShouldDoCombo_WhenDLetterIsPressed(char comboKey) { //Arrange var fighterContext = new FighterContext(); fighterContext.SetStrategy(new Dhalsim()); //Act var sut = fighterContext.DoCombo(comboKey); //Assert sut.ShouldContain("Yoga Flame"); }