public void MakeTagsTest(string tag, string text, string expected) { StringsWarmups sw = new StringsWarmups(); string result = sw.MakeTags(tag, text); Assert.AreEqual(expected, result); }
public void InsertWordTest(string container, string word, string expected) { StringsWarmups sw = new StringsWarmups(); string result = sw.InsertWord(container, word); Assert.AreEqual(expected, result); }
public void TweakFrontTest(string str, string expected) { StringsWarmups sw = new StringsWarmups(); string result = sw.TweakFront(str); Assert.AreEqual(expected, result); }
public void StripXTest(string str, string expected) { StringsWarmups sw = new StringsWarmups(); string result = sw.StripX(str); Assert.AreEqual(expected, result); }
public void TakeOneTest(string str, bool fromFront, string expected) { StringsWarmups sw = new StringsWarmups(); string result = sw.TakeOne(str, fromFront); Assert.AreEqual(expected, result); }
public void MinCatTest(string a, string b, string expected) { StringsWarmups sw = new StringsWarmups(); string result = sw.MinCat(a, b); Assert.AreEqual(expected, result); }
public void HasBadTest(string str, bool expected) { StringsWarmups sw = new StringsWarmups(); bool result = sw.HasBad(str); Assert.AreEqual(expected, result); }
public void TrimOneTest(string str, string expected) { StringsWarmups sw = new StringsWarmups(); string result = sw.TrimOne(str); Assert.AreEqual(expected, result); }
public void FrontAndBackTest(string str, int n, string expected) { StringsWarmups sw = new StringsWarmups(); string result = sw.FrontAndBack(str, n); Assert.AreEqual(expected, result); }
public void TakeTwoFromPositionTest(string str, int n, string expected) { StringsWarmups sw = new StringsWarmups(); string result = sw.TakeTwoFromPosition(str, n); Assert.AreEqual(expected, result); }
public void EndsWithLyTest(string str, bool expected) { StringsWarmups sw = new StringsWarmups(); bool result = sw.EndsWithLy(str); Assert.AreEqual(expected, result); }
public void SayHiTest(string name, string expected) { StringsWarmups sw = new StringsWarmups(); string result = sw.SayHi(name); Assert.AreEqual(expected, result); }
public void MiddleTwoTest(string str, string expected) { StringsWarmups sw = new StringsWarmups(); string result = sw.MiddleTwo(str); Assert.AreEqual(expected, result); }
public void MultipleEndingsTest(string str, string expected) { StringsWarmups sw = new StringsWarmups(); string result = sw.MultipleEndings(str); Assert.AreEqual(expected, result); }
public void LastCharsTest(string a, string b, string expected) { StringsWarmups sw = new StringsWarmups(); string result = sw.LastChars(a, b); Assert.AreEqual(expected, result); }
public void FirstHalfTest(string str, string expected) { StringsWarmups sw = new StringsWarmups(); string result = sw.FirstHalf(str); Assert.AreEqual(expected, result); }
public void FrontAgainTest(string str, bool expected) { StringsWarmups sw = new StringsWarmups(); bool result = sw.FrontAgain(str); Assert.AreEqual(expected, result); }
public void LongInMiddleTest(string a, string b, string expected) { StringsWarmups sw = new StringsWarmups(); string result = sw.LongInMiddle(a, b); Assert.AreEqual(expected, result); }
public void RotateRight2Test(string str, string expected) { StringsWarmups sw = new StringsWarmups(); string result = sw.RotateRight2(str); Assert.AreEqual(expected, result); }