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