Exemplo n.º 1
0
 public void return_ConCat(string a, string b, string c)
 {
     //arrange
     StringWarmUps x = new StringWarmUps();
     // act
     string con_result = x.ConCat(a, b);
     // assert
     Assert.AreEqual(c, con_result);
 }
Exemplo n.º 2
0
 public void return_EndsWithLy(string a, bool b)
 {
     //arrange
     StringWarmUps x = new StringWarmUps();
     // act
     bool ends_result = x.EndsWithLy(a);
     // assert
     Assert.AreEqual(b, ends_result);
 }
Exemplo n.º 3
0
 public void return_AtFirst(string a, string b)
 {
     //arrange
     StringWarmUps x = new StringWarmUps();
     // act
     string at_result = x.AtFirst(a);
     // assert
     Assert.AreEqual(b, at_result);
 }
Exemplo n.º 4
0
 public void return_ABBA(string a, string b, string c)
 {
     // arrange
     StringWarmUps x = new StringWarmUps();
     // act
     string abba_result = x.Abba(a, b);
     // assert
     Assert.AreEqual(c, abba_result);
 }
Exemplo n.º 5
0
 public void return_FirstHalf(string a, string b)
 {
     //arrange
     StringWarmUps x = new StringWarmUps();
     // act
     string half_result = x.FirstHalf(a);
     // assert
     Assert.AreEqual(b, half_result);
 }
Exemplo n.º 6
0
 public void return_TweakFront(string a, string b)
 {
     //arrange
     StringWarmUps x = new StringWarmUps();
     // act
     string tweak_result = x.TweakFront(a);
     // assert
     Assert.AreEqual(b, tweak_result);
 }
Exemplo n.º 7
0
 public void return_TrimOne(string a, string b)
 {
     //arrange
     StringWarmUps x = new StringWarmUps();
     // act
     string trim_result = x.TrimOne(a);
     // assert
     Assert.AreEqual(b, trim_result);
 }
Exemplo n.º 8
0
 public void return_TakeTwoFromPosition(string a, int b, string c)
 {
     //arrange
     StringWarmUps x = new StringWarmUps();
     // act
     string taketwo_result = x.TakeTwoFromPosition(a, b);
     // assert
     Assert.AreEqual(c, taketwo_result);
 }
Exemplo n.º 9
0
 public void return_LastChars(string a, string b, string c)
 {
     //arrange
     StringWarmUps x = new StringWarmUps();
     // act
     string last_result = x.LastChars(a, b);
     // assert
     Assert.AreEqual(c, last_result);
 }
Exemplo n.º 10
0
 public void return_FrontAgain(string a, bool b)
 {
     //arrange
     StringWarmUps x = new StringWarmUps();
     // act
     bool front_result = x.FrontAgain(a);
     // assert
     Assert.AreEqual(b, front_result);
 }
Exemplo n.º 11
0
 public void return_SayHi(string a, string b)
 {
     // arrange
     StringWarmUps hello = new StringWarmUps();
     // act
     string Actual = hello.SayHi(a);
     // assert
     Assert.AreEqual(b, Actual);
 }
Exemplo n.º 12
0
 public void return_Rotateright2(string a, string b)
 {
     //arrange
     StringWarmUps x = new StringWarmUps();
     // act
     string rright2_result = x.Rotateright2(a);
     // assert
     Assert.AreEqual(b, rright2_result);
 }
Exemplo n.º 13
0
 public void return_MultipleEndings(string a, string b)
 {
     // arrange
     StringWarmUps x = new StringWarmUps();
     // act
     string ending_result = x.MultipleEndings(a);
     // assert
     Assert.AreEqual(b, ending_result);
 }
Exemplo n.º 14
0
 public void return_MiddleTwo(string a, string b)
 {
     //arrange
     StringWarmUps x = new StringWarmUps();
     // act
     string middle_result = x.MiddleTwo(a);
     // assert
     Assert.AreEqual(b, middle_result);
 }
Exemplo n.º 15
0
 public void return_MakeTags(string a, string b, string c)
 {
     // arrange
     StringWarmUps x = new StringWarmUps();
     // act
     string tag_result = x.MakeTags(a, b);
     // assert
     Assert.AreEqual(c, tag_result);
 }
Exemplo n.º 16
0
 public void return_LongInMiddle(string a, string b, string c)
 {
     //arrange
     StringWarmUps x = new StringWarmUps();
     // act
     string long_result = x.LongInMiddle(a, b);
     // assert
     Assert.AreEqual(c, long_result);
 }
Exemplo n.º 17
0
 public void return_SwapLast(string a, string b)
 {
     //arrange
     StringWarmUps x = new StringWarmUps();
     // act
     string swap_result = x.SwapLast(a);
     // assert
     Assert.AreEqual(b, swap_result);
 }
Exemplo n.º 18
0
 public void return_TakeOne(string a, bool b, string c)
 {
     //arrange
     StringWarmUps x = new StringWarmUps();
     // act
     string take_result = x.TakeOne(a, b);
     // assert
     Assert.AreEqual(c, take_result);
 }
Exemplo n.º 19
0
 public void return_FrontAndBack(string a, int b, string c)
 {
     //arrange
     StringWarmUps x = new StringWarmUps();
     // act
     string fandb_result = x.FrontAndBack(a, b);
     // assert
     Assert.AreEqual(c, fandb_result);
 }
Exemplo n.º 20
0
 public void return_InsertWord(string a, string b, string c)
 {
     // arrange
     StringWarmUps x = new StringWarmUps();
     // act
     string word_result = x.InsertWord(a, b);
     // assert
     Assert.AreEqual(c, word_result);
 }