Exemple #1
0
 public void Test6()
 {
     using FakeConsole console = new FakeConsole("  ");
     Program.Main();
     Assert.AreEqual("The text is a palindrome.", console.Output);
 }
Exemple #2
0
 public void Test8()
 {
     using FakeConsole console = new FakeConsole("A man, a plan, a canal: Panama!");
     Program.Main();
     Assert.AreEqual("The text is a palindrome.", console.Output);
 }