AcornPublishing_essential-csharp-7e/EssentialCSharp-8.0/src/Chapter05.Tests/Listing05.14A.Tests.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter05.Listing05_14A.Tests
{
    [TestClass]
    public class ProgramTests
    {
        [TestMethod]
        public void MainTest()
        {
            const string expected = @"image[[]*]=Red
image[[]*]=Black";
            IntelliTect.TestTools.Console.ConsoleAssert.ExpectLike(expected, () =>
                {
                    Program.Main();
                });
        }
    }
}