public void Abba(string a, string b, string Expected) { //arrange instantiating objects StringWarmups WarmUp = new StringWarmups(); //act Method string result = WarmUp.Abba(a, b); //assert testing result Assert.AreEqual(Expected, result); }
public void MultipleEndings(string str, string Expected) { //arrange instantiating objects StringWarmups WarmUp = new StringWarmups(); //act Method string result = WarmUp.MultipleEndings(str); //assert testing result Assert.AreEqual(Expected, result); }
public void MakeTags(string tag, string content, string Expected) { //arrange instantiating objects StringWarmups WarmUp = new StringWarmups(); //act Method string result = WarmUp.MakeTags(tag, content); //assert testing result Assert.AreEqual(Expected, result); }
public void HasBad(string str, bool Expected) { //arrange instantiating objects StringWarmups WarmUp = new StringWarmups(); //act Method bool result = WarmUp.HasBad(str); //assert testing result Assert.AreEqual(Expected, result); }
public void FrontAndBack(string str, int n, string Expected) { //arrange instantiating objects StringWarmups WarmUp = new StringWarmups(); //act Method string result = WarmUp.FrontAndBack(str, n); //assert testing result Assert.AreEqual(Expected, result); }
public void TakeTwoFromPosition(string str, int n, string Expected) { //arrange instantiating objects StringWarmups WarmUp = new StringWarmups(); //act Method string result = WarmUp.TakeTwoFromPosition(str, n); //assert testing result Assert.AreEqual(Expected, result); }
public void TakeOne(string str, bool fromFront, string Expected) { //arrange instantiating objects StringWarmups WarmUp = new StringWarmups(); //act Method string result = WarmUp.TakeOne(str, fromFront); //assert testing result Assert.AreEqual(Expected, result); }
public void SayHi(string Input, string Expected) { //arrange instantiating objects StringWarmups WarmUp = new StringWarmups(); //act Method string result = WarmUp.SayHi(Input); //assert testing result Assert.AreEqual(Expected, result); }