public void ExampleTest() { using FakeConsole console = new FakeConsole("First input", "Second input"); Program.Main(); Assert.AreEqual("Hello!", console.Output); }
public void BigNumber() { using FakeConsole console = new FakeConsole("10", "1", "200"); Program.Main(); Assert.AreEqual("Max number is: 200.", console.Output); }