Beispiel #1
0
 public void Find_And_Replace_Whole_phrase()
 {
     FindReplace test2 = new FindReplace("hello world", "hello world", "universe");
       Assert.Equal("universe", test2.ReplaceWord());
 }
Beispiel #2
0
 public void Find_And_Replace_Words_Within_Words_With_Capitals()
 {
     FindReplace test3 = new FindReplace("Catdog", "cat", "wolf");
       Assert.Equal("wolfdog", test3.ReplaceWord());
 }
Beispiel #3
0
 public void Find_And_Replace_Test()
 {
     FindReplace test = new FindReplace("hello world", "world", "universe");
       Assert.Equal("hello universe", test.ReplaceWord());
 }