public void Test_Gothenburg() { using FakeConsole console = new FakeConsole("Gothenburg", "Yes"); Program.Main(); Assert.AreEqual("You should visit Gothenburg.", console.Output); }
public void Test_Stockholm() { using FakeConsole console = new FakeConsole("Stockholm", "No"); Program.Main(); Assert.AreEqual("You should visit Stockholm.", console.Output); }
public void Test_Lappland() { using FakeConsole console = new FakeConsole("Lappland"); Program.Main(); Assert.AreEqual("You should visit Lappland.", console.Output); }