public void Test_areNotAnagram() { using FakeConsole console = new FakeConsole("two", "tww"); Program.Main(); Assert.AreEqual("\"two\" and \"tww\" are NOT anagrams.", console.Output); }
public void Test_differentLengthsButSameLetters() { using FakeConsole console = new FakeConsole("two", "towtow"); Program.Main(); Assert.AreEqual("\"two\" and \"towtow\" are NOT anagrams.", console.Output); }
public void Test_areAnagram3() { using FakeConsole console = new FakeConsole("two", "wot"); Program.Main(); Assert.AreEqual("\"two\" and \"wot\" are anagrams.", console.Output); }
public void Test_blankWords() { using FakeConsole console = new FakeConsole("", ""); Program.Main(); Assert.AreEqual("\"\" and \"\" are NOT anagrams.", console.Output); }