示例#1
0
 public void Test_LettersAndOtherCharacters()
 {
     using FakeConsole console = new FakeConsole("?_-\"\'abcdefghijklm!#¤%&/ (\\@£$€{{[nopqrstuvwxyz]}");
     Program.Main();
     Assert.AreEqual("?_-\"\'nopqrstuvwxyz!#¤%&/ (\\@£$€{{[abcdefghijklm]}", console.Output);
 }
示例#2
0
 public void Test_Blankspace()
 {
     using FakeConsole console = new FakeConsole(" ");
     Program.Main();
     Assert.AreEqual("", console.Output);
 }
示例#3
0
 public void Test_NonLetters()
 {
     using FakeConsole console = new FakeConsole("?_-\"\'!#¤%&/ (\\@£$€{{[]}");
     Program.Main();
     Assert.AreEqual("?_-\"\'!#¤%&/ (\\@£$€{{[]}", console.Output);
 }
示例#4
0
 public void Test_Alphabet()
 {
     using FakeConsole console = new FakeConsole("abcdefghijklmnopqrstuvwxyz");
     Program.Main();
     Assert.AreEqual("nopqrstuvwxyzabcdefghijklm", console.Output);
 }