AcornPublishing_essential-csharp-7e/EssentialCSharp-8.0/src/Chapter18.Tests/Listing18.05.Tests.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter18.Listing18_05.Tests
{
    [TestClass]
    public class ProgramTests
    {
        [TestMethod]
        public void Main_WithNoParameters_DisplaysHelp()
        {
            string expected = @"True
True
False
True";
            IntelliTect.TestTools.Console.ConsoleAssert.Expect(expected,
            () =>
            {
                Program.Main();
            });
        }
    }
}